Just check the signature as soon as the messages arrives. There is no point making this dependent on the network layer.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
May 9 2021
May 8 2021
set a default parameter to avoid repeating std::nullopt in tests
An alternative solution is to extract the delegated key from the delegation without checking it, use it to check the signature, then call PeerManager::addNode which will then verify the delegation . I like this solution a bit less, because it is more code : the pubkey is initialized twice it requires an additional Delegation::getPubKey method to return the last level of the delegation.
May 7 2021
Fix typo
Add more info about the activation time
Fix typo
Update description
Add an -exchangeavaproofs configuration option, with default false. If false, don't ask for avaproof, don't reply to avaproof getdata requests, don't process AVAPROOF messages.
Unless a node enables this option, it shouldn't be able to add avalanche nodes automatically, and other nodes shouldn't be able to add it, unless it is done via the addavalanchenode RPC.
May 6 2021
Only include used lodash functions
make it work (the test was taking the local and remote entropy in the wrong order, so checking the avahello signature failed)
Improve tests according to review. Enforce, document and test the sequential iteration over proof in forEachProof.
Fix the potential problem of updating the pool while iterating on it in updatedBlockTip.
Let fetchOrCreatePeer remove proofs from the orphan pool if they are found to be good.
Don't copy proofs in the temporary vectors created in updateBlockTip, use pointers instead.
May 5 2021
Mark snapshots @generated
Improve speed of form by making it its own react component, parse Genesis transactions in txHistory, unit tests for each
Update Diff summary
Keep STEX, they have working withdrawal/deposit
Unit tests for token genesis validation functions and css bug fix
May 4 2021
Remove duplicate import
Handle invalid wallet case with thrown error + add unit test for this
Hide unit test mock for createToken function
Add unit test for new createToken function, correct css bug in new TokenCollapse component
Updating snapshots on unit tests
Hide generated snapshot file
We'll reach out another time to offer help to the exchanges before landing this.