Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 21:12
    codecov-io commented #425
  • Jan 31 20:52
    NicolasDP synchronize #425
  • Jan 31 20:52

    NicolasDP on update-ledger-mock

    make the Genesis leader selecti… change name of the am_leader_at… (compare)

  • Jan 31 20:23
    codecov-io commented #425
  • Jan 31 20:10
    NicolasDP assigned #425
  • Jan 31 20:10
    NicolasDP review_requested #425
  • Jan 31 20:10
    NicolasDP labeled #425
  • Jan 31 20:10
    NicolasDP opened #425
  • Jan 31 20:08

    NicolasDP on update-ledger-mock

    network-grpc: Hide implementati… Merge pull request #420 from in… CircleCI: remove junit result c… and 7 more (compare)

  • Jan 31 19:26

    qnikst on ntt-cli

    WIP (compare)

  • Jan 31 16:28

    vincenthz on master

    network: Rename StreamBlocksTo*… Merge pull request #422 from in… (compare)

  • Jan 31 16:28
    vincenthz closed #422
  • Jan 31 16:27

    vincenthz on master

    use unified update model Merge pull request #424 from in… (compare)

  • Jan 31 16:27
    vincenthz closed #424
  • Jan 31 15:42
    NicolasDP labeled #424
  • Jan 31 15:42
    NicolasDP assigned #424
  • Jan 31 15:42
    NicolasDP review_requested #424
  • Jan 31 15:41
    NicolasDP opened #424
  • Jan 31 15:41
    vincenthz labeled #423
  • Jan 31 15:41
    vincenthz opened #423
Markus
@gufmar
Nnjhj..n . jnnj.j.jjjnmjjuhuuuhuummuunynjujjuhhb hn.mjmnnvb vnhbhhy hbhh bybbbbbbb bbbbbhbybbbbybbbbb vvcvv ggvcv hunnjuhujbbbnun
B
Vincent Hanquez
@vincenthz
If you are having a seizure: press 1
Markus
@gufmar
Stack overflow ;-) ... or un-locked smartphone and car key in the pants pocket
Vincent Hanquez
@vincenthz
:)
Rinor Hoxha
@rinor
Quick question
What is the state of jormungandr master branch? Can we start filing issues against it or it is still in flux?
Nicolas Di Prima
@NicolasDP
@rinor , We have started a huge redesign on how we store the blockchain representation in the node. This is to allow us to follow up more easily with block announcements and forks from other nodes in the network. We are nearly done with this but there might be one or two regressions remaining. We are working on fixing them ASAP.
Rinor Hoxha
@rinor
@NicolasDP thank you.
Nicolas Di Prima
@NicolasDP
I hope to fix one today which will make it work as usual again. I'll drop a message here when it's done
Rinor Hoxha
@rinor
Much appreciated. Thanks.
Markus
@gufmar
Great news. Thanks
Nicolas Di Prima
@NicolasDP
@rinor the leadership regressions have been fixed. It should be more stable now.
Rinor Hoxha
@rinor
@NicolasDP thank you. Was just about to check since I saw your pull request. Thanks again
Rinor Hoxha
@rinor
@NicolasDP I tested a bit during weekend and there is still a problem with with leadership causing no blocks to be produced at the first slot of each epoch. Do you want me to file an issue with the details or you are aware of it?
Nicolas Di Prima
@NicolasDP
I just started looking at it again this morning. Can you document what you have done and your result in a comment in input-output-hk/jormungandr#591 ?
Rinor Hoxha
@rinor
Well, based on my test input-output-hk/jormungandr#591 is caused by MemPool/Logs GC which right now is executed every 900 seconds. I always change that value to smth like 1 hour which gives me more time to test before it crashes.
I will document that right away.
Nicolas Di Prima
@NicolasDP
thanks, I will expose the settings for the TTLs and the garbage collections interval ASAP in the node's config yaml. Sounds like it is the direction to look at for the issues at hand.
Nicolas Di Prima
@NicolasDP
@rinor , thanks a lot
the MemPool/LogsGC was the right place to look I managed to reproduce the error in a very deterministic way. I'll have a fix for this today
Rinor Hoxha
@rinor
:thumbsup:
and I'm sorry for not reporting it earlier since I've been playing with that value for a long time now.
Nicolas Di Prima
@NicolasDP
I would not have made the link until now. I used this and the new leadership logs to find out what was happening.
we initially thought it was related to the way we prepare the leader election events
while actually it is somewhere else and completely unexpected (as usual with issues that are older than 1 week)
Rinor Hoxha
@rinor
@NicolasDP tested the lastest master with your fixes and input-output-hk/jormungandr#591 still happens when garbage_collection_interval < fragment_ttl
Nicolas Di Prima
@NicolasDP
thanks, this is another issue though
Rinor Hoxha
@rinor
understood. Do you want me to open a new issue?
Nicolas Di Prima
@NicolasDP
yes please. I think I know where is the problem, I might have a quick fix for this one too.
Rinor Hoxha
@rinor
Sure, will do.
Rinor Hoxha
@rinor
Nicolas Di Prima
@NicolasDP
thanks again
Rinor Hoxha
@rinor

@NicolasDP I tested a bit during weekend and there is still a problem with with leadership causing no blocks to be produced at the first slot of each epoch. Do you want me to file an issue with the details or you are aware of it?

How do you want me to proceed with this? Testing it is easy. If you set slots_per_epoch: 1 no blocks will be produced since all new leader events will be ignored.

Nicolas Di Prima
@NicolasDP
Yes I am looking into this right now already. It's happening when we start the leadership module, we start exactly when the new epoch starts so the first block was ignored
Rinor Hoxha
@rinor
yes, exactly
Rinor Hoxha
@rinor
Question 1: What is the long-term usage/vision of JCLI? (is it here to stay or just a temporary tool that will be deprecated)
Just asking because have a feeling the the community got a bit "tired" with the actual usage of shell scripts related to jcli, among other things, don't like the fact that those scripts can't be used easily and in the same way in all OS platforms without the need of installing specific shells. There is also this comment https://github.com/input-output-hk/jormungandr/pull/644#issuecomment-516555241 from Vincent.
Lately I've been thinking a bit about this, and beside what is mentioned on that comment, it would be nice to have some jcli (the executable binary) wrappers in some statically typed language that is small and easy enough to be understood that could be used for/like scripting and in the same time be able to produce executables if needed from the same codebase/scripts.
Before checking with the community, I would like to have an opinion if is worth pursuing it because would like it to be helpful/worth more then in short-term.
I understand that short-term/long-term are subject of interpretation, but I hope they make sense in this context.
Question 2: Is there any plan/way to use https://github.com/input-output-hk/chain-libs with a standalone JIT WebAssembly runtime? (smth like https://github.com/wasmerio/wasmer would be epic)?
https://github.com/input-output-hk/js-chain-libs is awesome, and it would be nice to have it also for other languages.
Nicolas Di Prima
@NicolasDP

Response to question 1: JCLI won't be deprecated. But it will never be much than what it is now:
a command line tool that emulate the raw functions of addresses, keys, etc... The vision for jcli
is that is ought to be a tool for the devs to play with the different objects, do some testing.
IOHK's haskell wallet backend utilises the jcli to validate what they do for example.

The scripts are interesting for some dev/qa manual testings. Like you said they
are not great for the general users. There are lot of issues with them and they don't support every
platforms.

A community project to provide a more user friendly application for users to monitor/control the node
would be great.

Response to question 2: We are building libraries and APIs for developers to use. There is the
Rust library in chain-libs and the JS bindings in js-chain-libs. We will provide C bindings too
but we need to put a bit more thoughts on the APIs we plan to provide. From there we will have access to
every languages with C FFI capabilities (Haskell, Go, Java, Objective-C...).

Follow up on these questions: We have focused mainly on the JS bindings as it seemed to us this is the most common language used for cross platform applications. An electron app to monitor/control the node would be great for example. And not that hard to write. Just need some time.

Rinor Hoxha
@rinor
Understood. Thank you for your time and detailed responses.
Rinor Hoxha
@rinor

A community project to provide a more user friendly application for users to monitor/control the node
would be great.

here we go https://github.com/rinor/jorcli

just started it and will see how far it goes
Nicolas Di Prima
@NicolasDP
Great. A project in Go! \o/
Markus
@gufmar
Awesome!
Rinor Hoxha
@rinor
thank you for the new SCENARIO TEST SUITE
Nicolas Di Prima
@NicolasDP
you tried it? still lot of things to work on on this. Will get more interesting by the end of the week
Rinor Hoxha
@rinor
Yes I did and liked it. Also it gave me some ideas I may implement in go apps.
Rinor Hoxha
@rinor
Quick question:
Beside digging the source code and/or graphiql server, is there any available standardized source for the followings:
1) Graphql full schemas for explorer
2) Protobuf schemas for grpc
Rinor Hoxha
@rinor
Thank you. For 2) I was looking at jormungandr source and missed chain-libs 🙈