agora
agora copied to clipboard
POC Node implementation for CoinNet
The first test in `NetworkDiscovery` uses the return of `getNodeInfo`: https://github.com/bpfkorea/agora/blob/81e348264c54ce951b9b09a73f096426c271d6b9/source/agora/test/NetworkDiscovery.d#L32-L33 This returns the set of **known** addresses which doesn't necessarily includes addresses we are **connected** to. https://github.com/bpfkorea/agora/blob/81e348264c54ce951b9b09a73f096426c271d6b9/source/agora/network/Manager.d#L1036-L1043 For example:...
The state of serialization in Agora is as follow: - Blocks are serialized to binary and stored on disk via [BlockStorage](https://github.com/bosagora/agora/blob/164deb6e0f2db03aa4214ed71b2c714e4d01ffb6/source/agora/node/BlockStorage.d) This binary serialization is there because we want to...
``` Unittesting agora.test.SlashingMisbehavingValidator.. terminate called after throwing an instance of 'std::runtime_error' what(): moved to a bad state (ballot protocol) ./ci/run.sh: line 21: 5753 Aborted (core dumped) ./build/agora-unittests ``` Witnessed on...
frontend changes for https://github.com/bosagora/agora/issues/251
``` Unittesting agora.test.QuorumPreimage.. ================================ ASSERT HANDLER =============================== [source/agora/test/Base.d:1086] Assertion thrown during test: [source/agora/test/QuorumPreimage.d:160] Less than 1 spendables in block: Height: 19, Prev: 0xa6bd...e299, Root: 0x055b...581e, Enrollments: [] Signature: 0x36ca27541775849c8bc86fcbf79577d1ae89e9c1a68116dd132101f52a2d9f6a0e59146295f78c14f5eeecd094db9ad184a79abdd7d41930671bc657af9cdaa7, Validators:...
I'm seeing unittest getting stuck and just timing out. Example from recently: ``` Unittesting agora.test.InvalidBlockSigByzantine (took 4 secs, 398 ms, 642 μs, and 2 hnsecs) Unittesting agora.test.GossipProtocol (took 5 secs,...
``` 0 agora-unittests 0x00000001056caeab _D4core7runtime9backtraceFNbPPviZi + 75 1 agora-unittests 0x00000001056cae3a _D4core7runtime18runModuleUnitTestsUZ19unittestSegvHandlerUNbiPSQCk3sys5posix6signal9siginfo_tPvZv + 58 2 libsystem_platform.dylib 0x00007fff71c2f5fd _sigtramp + 29 3 agora-unittests 0x00000001049e410a _D5agora4node8FullNodeQj9addBlocksMFNfAxSQBn9consensus4data5BlockQgAxSQCqQBdQw12PreImageInfoQoZ__T9__lambda6TxQBpZQqMFNbNfxQCcZb + 26 4 agora-unittests 0x00000001049df84b _D3std9algorithm9iteration__T4eachS5agora4node8FullNodeQj9addBlocksMFNfAxSQBn9consensus4data5BlockQgAxSQCqQBdQw12PreImageInfoQoZ9__lambda6Z__TQEjTQBuZQErMFNbNfKQCiZEQGh8typecons__T4FlagVAyaa4_65616368ZQv +...