Page MenuHomePhabricator
Feed Advanced Search

May 20 2022

deadalnix accepted D11508: Move the Uint256RadixKey to its own header.
May 20 2022, 12:54
deadalnix requested changes to D11502: [avalanche] Add a way to check if a VoteRecord is stale.

So one successful round and w can stale forever? Seriously, I don't even know what to say, this is obviously not good.

May 20 2022, 12:53

May 19 2022

deadalnix accepted D11456: [radix] Adds the capability to use an adapter for key manipulation.
May 19 2022, 17:49
deadalnix accepted D11497: scripted-diff: net_processing: Use existing chainman.

This needs to happen for GetAvalancheVoteForBlock too.

May 19 2022, 17:46
deadalnix accepted D11495: net_processing: Move some static functions to PeerManager.
May 19 2022, 17:45
deadalnix accepted D11496: move getAvalancheVoteForBlock to PeerManagerImpl.

I see, it is about to use a member. LGTM.

May 19 2022, 17:44
deadalnix requested changes to D11496: move getAvalancheVoteForBlock to PeerManagerImpl.

It doesn't looks like it is using any state of the object, so why should this be a member method of that object? That doesn't make sense.

May 19 2022, 17:43
deadalnix requested changes to D11498: [avalanche] Maintain a count of the proofs in the proof pool.

This count cannot be simply retrieved using size() because it is a multimap like structure.

May 19 2022, 17:42
deadalnix accepted D11499: [avalanche] Move VoteRecord tests to their own file.
May 19 2022, 17:37
deadalnix requested changes to D11450: [avalanche] Maintain a radix tree of the proofs.
May 19 2022, 17:36
deadalnix requested changes to D11494: [avalanche] Fix underflow when clearing too many inflight requests.

I don't understand what problem this is solving. First, this is using low free gizmo that seem completely unecessary - aren't VoteReccord owned by locks to begin with?

May 19 2022, 17:30
deadalnix requested changes to D11466: [avalanche] Turn ProofRef into a RCUPtr.
May 19 2022, 17:27
deadalnix accepted D11463: [avalanche] Use the ProofComparator for sets and maps.
May 19 2022, 17:22
deadalnix requested changes to D11474: [avalanche] Drop stale votes after too many rounds without finalization.
May 19 2022, 17:20
deadalnix added inline comments to D11474: [avalanche] Drop stale votes after too many rounds without finalization.
May 19 2022, 13:23

May 14 2022

deadalnix requested changes to D11463: [avalanche] Use the ProofComparator for sets and maps.

No, compare the address.

May 14 2022, 01:33
deadalnix requested changes to D11466: [avalanche] Turn ProofRef into a RCUPtr.
May 14 2022, 01:32

May 13 2022

deadalnix requested changes to D11463: [avalanche] Use the ProofComparator for sets and maps.
May 13 2022, 23:34
deadalnix added a comment to D11463: [avalanche] Use the ProofComparator for sets and maps.

ProofComparator does complex computation, when it was before just comparing pointers. This solves a real problem, but the solution is not good.

May 13 2022, 23:34
deadalnix accepted D11462: [avalanche] Don't assume shared_ptr for ProofRef.
May 13 2022, 23:33
deadalnix requested changes to D11461: [avalanche] Simplify proof deserialization in the RPC.

I don't think this patch helps with anything.

May 13 2022, 23:31
deadalnix accepted D11459: Stop parsing the radix tree if the callback function returns false.

This is good, I left a few comments on ways the code could be improved upon.

May 13 2022, 20:46
deadalnix closed D11458: [RCU] Run a lazy round of cleanup when unlocking the RCULock.
May 13 2022, 14:33
deadalnix committed rABC28064258b769: [RCU] Run a lazy round of cleanup when unlocking the RCULock (authored by deadalnix).
[RCU] Run a lazy round of cleanup when unlocking the RCULock
May 13 2022, 14:33
deadalnix retitled D11458: [RCU] Run a lazy round of cleanup when unlocking the RCULock from [radix] Run a lazy round of cleanup when unlocking the RCULock to [RCU] Run a lazy round of cleanup when unlocking the RCULock.
May 13 2022, 14:06
deadalnix added inline comments to D11458: [RCU] Run a lazy round of cleanup when unlocking the RCULock.
May 13 2022, 13:22
deadalnix requested review of D11458: [RCU] Run a lazy round of cleanup when unlocking the RCULock.
May 13 2022, 12:00
deadalnix requested changes to D11457: [avalanche] Reject votes that have been inconclusive for too many rounds.

This is obviously unsound. How can this make consistent conclusion with the rest of the network?

May 13 2022, 10:36

May 12 2022

deadalnix requested changes to D11453: [avalanche] Introduce a CompactProofs class for managing the short proof ids.
May 12 2022, 19:22
deadalnix added inline comments to D11450: [avalanche] Maintain a radix tree of the proofs.
May 12 2022, 19:18
deadalnix requested review of D11456: [radix] Adds the capability to use an adapter for key manipulation.
May 12 2022, 19:18
deadalnix requested changes to D11450: [avalanche] Maintain a radix tree of the proofs.
May 12 2022, 18:52

May 10 2022

deadalnix accepted D11441: [avalanche] Remove dead code in the delegation tests.
May 10 2022, 22:54
deadalnix added inline comments to D11405: Let the radix tree work with 256 bits keys.
May 10 2022, 12:48
deadalnix closed D11439: Make iteration type explicit, this is very important here..
May 10 2022, 12:09
deadalnix committed rABC826544525ee7: Make iteration type explicit, this is very important here. (authored by deadalnix).
Make iteration type explicit, this is very important here.
May 10 2022, 12:09
deadalnix requested review of D11439: Make iteration type explicit, this is very important here..
May 10 2022, 01:15

May 7 2022

deadalnix requested changes to D11431: [avalanche] Make proof replacement check explicit.

As per our discussion, I think the main problem with this is that, while the existing code indeed looks funny, not in a good way, it's not clear what the correct structure actually is. I think we should put this on hold untill we actually have a a problem that would benefit from restructuring this code, then we'll have a better idea of what it should look like.

May 7 2022, 23:02

May 6 2022

deadalnix accepted D11432: [avalanche] Consolidate duplicate code for moving proofs to conflicting pool.
May 6 2022, 10:03
deadalnix added inline comments to D11431: [avalanche] Make proof replacement check explicit.
May 6 2022, 09:55
deadalnix added inline comments to D11431: [avalanche] Make proof replacement check explicit.
May 6 2022, 00:11

May 5 2022

deadalnix requested changes to D11414: [avalanche] Rename the `Invalid` vote status for consistency with other status.

They are all adjective, I don't see any of this is consistent, and in fact, Invalidated imply that they were made invalid at some point in the past, which may not be the case at all (they might always have been invalid, for instance, and therefore, never invalidated).

May 5 2022, 19:45

May 1 2022

deadalnix requested changes to D11371: [avalanche] Create transaction vote records..

There is pretty much the same code stamped 3 times in a row now. This is clearly an indication that it is time to stop piling up and go to the design board.

May 1 2022, 20:52
deadalnix requested changes to D11384: [avalanche] Make block update logging more precise..
May 1 2022, 20:47

Apr 28 2022

deadalnix accepted D11398: Add sane instructions for rvm setup.
Apr 28 2022, 23:51
deadalnix requested changes to D11390: [avalanche] Bypass net group limits by default for avalanche outbounds.

Also, the test plan doesn't test the change.

Apr 28 2022, 22:25
deadalnix closed D11396: Use incrementRefCount and decrementRefCount in the radix code too.
Apr 28 2022, 16:39
deadalnix committed rABCc75b34181a2b: Use incrementRefCount and decrementRefCount in the radix code too (authored by deadalnix).
Use incrementRefCount and decrementRefCount in the radix code too
Apr 28 2022, 16:39
deadalnix requested review of D11396: Use incrementRefCount and decrementRefCount in the radix code too.
Apr 28 2022, 15:53
deadalnix closed D11394: Change the name of the refcount operations on RCU elements.
Apr 28 2022, 15:36
deadalnix committed rABC7c944d278dae: Change the name of the refcount operations on RCU elements (authored by deadalnix).
Change the name of the refcount operations on RCU elements
Apr 28 2022, 15:36
deadalnix accepted D11386: Reflow eCash section of the README.
Apr 28 2022, 14:39
deadalnix requested changes to D11384: [avalanche] Make block update logging more precise..

Tests are failing, back on your queue.

Apr 28 2022, 14:37
deadalnix accepted D11393: [avalanche] Limit the number of delegation levels.
Apr 28 2022, 14:36
deadalnix requested review of D11394: Change the name of the refcount operations on RCU elements.
Apr 28 2022, 14:35
deadalnix closed D11392: Implement COW for the radix tree.
Apr 28 2022, 14:29
deadalnix committed rABCdd77141dbdd4: Implement COW for the radix tree (authored by deadalnix).
Implement COW for the radix tree
Apr 28 2022, 14:29
deadalnix updated the diff for D11392: Implement COW for the radix tree.

Fix typo

Apr 28 2022, 11:28

Apr 27 2022

deadalnix requested review of D11392: Implement COW for the radix tree.
Apr 27 2022, 21:34
deadalnix closed D11391: Use using instead of typedef int he radix code.
Apr 27 2022, 20:03
deadalnix committed rABCf72f9f3c9b61: Use using instead of typedef int he radix code (authored by deadalnix).
Use using instead of typedef int he radix code
Apr 27 2022, 20:03
deadalnix requested review of D11391: Use using instead of typedef int he radix code.
Apr 27 2022, 17:29
deadalnix requested changes to D11389: [avalanche] Send getavalancheproofs request upon receipt of a new valid proof.

This is O(n^2)

Apr 27 2022, 12:13
deadalnix added inline comments to D11388: [avalanche] Answer getavaproofs message with short proof ids.
Apr 27 2022, 12:12

Mar 14 2022

deadalnix accepted D11166: [avalanche] Add the availability score to the node statistics.
Mar 14 2022, 16:50

Mar 13 2022

deadalnix accepted D11163: [avalanche] Fix potential abc_rpc_getavalancheinfo test failure on slow machines.
Mar 13 2022, 22:27

Feb 8 2022

deadalnix accepted D10525: [avalanche] Make it possible to replace a proof.
Feb 8 2022, 21:25

Jan 14 2022

deadalnix accepted D10704: [avalanche] Add a mode to the proof registration to force accept it as a peer.
Jan 14 2022, 10:07

Jan 13 2022

deadalnix accepted D10827: Fix an unsigned issue in the availability score calculation.
Jan 13 2022, 21:14
deadalnix added inline comments to D10773: [avalanche] Output a proof registration state.
Jan 13 2022, 16:45
deadalnix requested changes to D10704: [avalanche] Add a mode to the proof registration to force accept it as a peer.
Jan 13 2022, 16:25

Jan 5 2022

deadalnix requested changes to D10704: [avalanche] Add a mode to the proof registration to force accept it as a peer.
Jan 5 2022, 17:15
deadalnix accepted D10717: [avalanche] Store the next possible conflict time for each peer.
Jan 5 2022, 16:54
deadalnix accepted D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..
Jan 5 2022, 16:34

Dec 20 2021

deadalnix requested changes to D10568: Use SQLite for descriptor wallets.

Clearing my queue.

Dec 20 2021, 15:59
deadalnix requested changes to D10569: Use disk magic as sqlite wallet application ID.

Clearing my queue.

Dec 20 2021, 15:59

Dec 16 2021

deadalnix requested changes to D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..
Dec 16 2021, 11:44

Dec 15 2021

deadalnix accepted D10683: [avalanche] Make removeProof easier to reason about by taking a proofid.
Dec 15 2021, 17:18
deadalnix closed D10674: Refactor ProofPool::addProofIfPreferred.
Dec 15 2021, 17:13
deadalnix committed rABCfa6a6071853b: Refactor ProofPool::addProofIfPreferred (authored by deadalnix).
Refactor ProofPool::addProofIfPreferred
Dec 15 2021, 17:13
deadalnix added inline comments to D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..
Dec 15 2021, 17:12
deadalnix accepted D10685: [avalanche] Make send_poll test helper accept optional type argument..
Dec 15 2021, 17:09

Dec 14 2021

deadalnix closed D10673: Remove createPeer.
Dec 14 2021, 19:46
deadalnix committed rABC90dbe410587d: Remove createPeer (authored by deadalnix).
Remove createPeer
Dec 14 2021, 19:46
deadalnix requested review of D10674: Refactor ProofPool::addProofIfPreferred.
Dec 14 2021, 19:46
deadalnix updated the diff for D10673: Remove createPeer.

Remove code moved by mistake.

Dec 14 2021, 19:00
deadalnix requested review of D10673: Remove createPeer.
Dec 14 2021, 18:22
deadalnix accepted D10661: [avalanche] Select the favorite orphan in case of a conflict during a rescan.
Dec 14 2021, 17:47
deadalnix requested changes to D10568: Use SQLite for descriptor wallets.

Where is this tested?

Dec 14 2021, 17:01

Dec 12 2021

deadalnix accepted D10660: [avalanche] Select the favorite conflicting proof.
Dec 12 2021, 22:19
deadalnix accepted D10658: [avalanche] Create a conflicting proof pool.
Dec 12 2021, 22:19

Dec 10 2021

deadalnix accepted D10524: [avalanche] Select the favorite orphan in case of a conflict.
Dec 10 2021, 16:37
deadalnix requested changes to D10660: [avalanche] Select the favorite conflicting proof.

The behavior changed, and yet no test changed. This indicates to me the current behavior is not tested appropriately. This is the first step that needs to be taken here.

Dec 10 2021, 16:36
deadalnix requested changes to D10663: [avalanche] Add a method to check if a proof has conflicts.
Dec 10 2021, 16:35
deadalnix requested changes to D10658: [avalanche] Create a conflicting proof pool.
Dec 10 2021, 16:35
deadalnix accepted D10658: [avalanche] Create a conflicting proof pool.
Dec 10 2021, 16:33
deadalnix accepted D10651: [avalanche] Add a facility to replace a proof in the pool.
Dec 10 2021, 16:30

Dec 7 2021

deadalnix requested changes to D10605: [avalanche] Move the proof registration time from the peer to the proof pool.

The registration time is now stored for each UTXO, I don't think this really makes sense.

Dec 7 2021, 16:18
deadalnix requested changes to D10524: [avalanche] Select the favorite orphan in case of a conflict.
Dec 7 2021, 14:21

Dec 3 2021

deadalnix accepted D10597: [avalanche] Make the proof pool internal container private.
Dec 3 2021, 19:49