Page MenuHomePhabricator
Feed Advanced Search

Dec 1 2021

deadalnix accepted D10603: [avalanche] Improve the peer manager verify() method.
Dec 1 2021, 15:21
deadalnix requested changes to D10597: [avalanche] Make the proof pool internal container private.
Dec 1 2021, 14:01

Nov 30 2021

deadalnix accepted D10523: [avalanche] Use the ProofPool multi index to store the orphan proofs.
Nov 30 2021, 17:00
deadalnix requested changes to D10525: [avalanche] Make it possible to replace a proof.
Nov 30 2021, 16:58
deadalnix added a comment to D10598: [avalanche] Add a rescan method to the ProofPool.

The dependencies are almost certainly wrong here. This could go in fairly quickly.

Nov 30 2021, 16:50
deadalnix accepted D10598: [avalanche] Add a rescan method to the ProofPool.
Nov 30 2021, 16:50
deadalnix requested changes to D10597: [avalanche] Make the proof pool internal container private.
Nov 30 2021, 16:46
deadalnix accepted D10522: [avalanche] Add wrappers to add and remove a proof from a proof pool.
Nov 30 2021, 16:39

Nov 29 2021

deadalnix requested changes to D10524: [avalanche] Select the favorite orphan in case of a conflict.

The behavior of addProof changed, yet no test changed. This is suspicious.

Nov 29 2021, 22:20
deadalnix requested changes to D10523: [avalanche] Use the ProofPool multi index to store the orphan proofs.
Nov 29 2021, 22:16
deadalnix accepted D10586: [avalanche] Add a ProofPool getProof accessor to retrieve a proof from its id.
Nov 29 2021, 22:10
deadalnix added inline comments to D10522: [avalanche] Add wrappers to add and remove a proof from a proof pool.
Nov 29 2021, 22:09
deadalnix requested changes to D10522: [avalanche] Add wrappers to add and remove a proof from a proof pool.
Nov 29 2021, 22:08
deadalnix accepted D10582: [avalanche] Move the ProofPool definition to its own header.
Nov 29 2021, 22:03

Nov 26 2021

deadalnix accepted D10390: Support NODE_NETWORK_LIMITED filtering by default.
Nov 26 2021, 16:51
deadalnix requested changes to D10567: walletutil: Wallets can also be sqlite.

Upon looking at what comes next, this is obviously not good to go.

Nov 26 2021, 16:50
deadalnix requested changes to D10569: Use disk magic as sqlite wallet application ID.

Why does this come AFTER the patch where sqllite DB are created by default?

Nov 26 2021, 16:49
deadalnix requested changes to D10568: Use SQLite for descriptor wallets.

So the goal here is to create wallet, using sqllite, with zero test by default?

Nov 26 2021, 16:47
deadalnix added a comment to D10567: walletutil: Wallets can also be sqlite.

And test plans still test nothing at all.

Nov 26 2021, 16:45
deadalnix accepted D10567: walletutil: Wallets can also be sqlite.

So at this stage, this whole thing is still untested, yet reachable by users.

Nov 26 2021, 16:45
deadalnix accepted D10566: Determine wallet file type based on file magic.
Nov 26 2021, 16:44
deadalnix accepted D10565: Implement SQLiteDatabase::MakeBatch.
Nov 26 2021, 16:43
deadalnix accepted D10564: Implement SQLiteDatabase::Verify.
Nov 26 2021, 16:43
deadalnix accepted D10563: Implement SQLiteDatabase::Rewrite.
Nov 26 2021, 16:42
deadalnix accepted D10562: Implement SQLiteDatabase::TxnBegin, TxnCommit, and TxnAbort.
Nov 26 2021, 16:41
deadalnix accepted D10561: Implement SQLiteDatabase::Backup.

You test plan really tests nothing at all.

Nov 26 2021, 16:40
deadalnix added inline comments to D10524: [avalanche] Select the favorite orphan in case of a conflict.
Nov 26 2021, 15:02
deadalnix added inline comments to D10522: [avalanche] Add wrappers to add and remove a proof from a proof pool.
Nov 26 2021, 14:45
deadalnix accepted D10557: [avalanche] Rename isValid => isBoundToPeer.
Nov 26 2021, 14:23
deadalnix accepted D10556: [avalanche] Simplify the proof verification code in the peer manager.
Nov 26 2021, 14:12
deadalnix accepted D10515: [avalanche] Don't create invalid proofs in the conflicting_proof_selection test.
Nov 26 2021, 14:12

Nov 25 2021

deadalnix requested changes to D10522: [avalanche] Add wrappers to add and remove a proof from a proof pool.

Is it something we want at all now that we don't want to store the orphan in the proof pool? Also, it seems like you are slowly recreating fetchOrCreatePeer with extra steps.

Nov 25 2021, 22:18
deadalnix accepted D10521: [avalanche] Introduce the ProofPool multi index structure.
Nov 25 2021, 22:06
deadalnix requested changes to D10521: [avalanche] Introduce the ProofPool multi index structure.
Nov 25 2021, 18:41
deadalnix added inline comments to D10521: [avalanche] Introduce the ProofPool multi index structure.
Nov 25 2021, 15:54
deadalnix requested changes to D10521: [avalanche] Introduce the ProofPool multi index structure.
Nov 25 2021, 02:23
deadalnix accepted D10520: [avalanche] Rename the peer set tag proof_index => by_proofid for consistency.
Nov 25 2021, 02:22

Nov 24 2021

deadalnix requested changes to D10470: [avalanche] Make it possible to replace a proof.
Nov 24 2021, 01:55
deadalnix requested changes to D10467: [avalanche] Let the PeerManager use the ProofPool.

This is strictly more code and complexity to do the same thing, slower. I don't see what this brings to the table. The diffs description says what the cod does, which i already knew looking at the code, but in the absenc of a justification for this, I see no reason to even consider moving in that direction. This is strictly worse on all fronts.

Nov 24 2021, 01:48
deadalnix requested changes to D10459: [avalanche] Introduce the ProofPool class.
Nov 24 2021, 01:38
deadalnix accepted D10453: [avalanche] Turn fetchOrCreatePeer into createPeer.
Nov 24 2021, 01:19

Nov 17 2021

deadalnix requested changes to D10459: [avalanche] Introduce the ProofPool class.
Nov 17 2021, 17:43
deadalnix accepted D10439: [avalanche] Make `isConflictingProofPreferred` a comparator.
Nov 17 2021, 17:39
deadalnix accepted D10435: [avalanche] Improve the conflicting proof selection algorithm.
Nov 17 2021, 17:39
deadalnix accepted D10436: [avalanche] Store proofs associated with utxos instead of peer ids.
Nov 17 2021, 17:28
deadalnix accepted D10440: [avalanche] Remove getPeerId.
Nov 17 2021, 17:27
deadalnix accepted D10481: TWEAK: Move cs_main lock to be local to its use..
Nov 17 2021, 17:26

Nov 1 2021

deadalnix added inline comments to D10395: [avalanche] Store the conflicting proofs.
Nov 1 2021, 23:04
deadalnix requested changes to D10395: [avalanche] Store the conflicting proofs.
Nov 1 2021, 23:01
deadalnix accepted D10404: [avalanche] Make `isConflictingProofPreferred` a static function.
Nov 1 2021, 23:00
deadalnix accepted D10379: [avalanche] Avoid O(n2) when voting on proofs.
Nov 1 2021, 16:02

Oct 27 2021

deadalnix requested changes to D10385: [avalanche] Check that a UTXO has not been reassigned before erasing it.

I don't think this makes any sense. If there is a concurrency problem, then the right way to solve it is to use locks. Right now, we don't do concurency within the peer manager, so no lock needed.

Oct 27 2021, 14:25
deadalnix accepted D10388: [avalanche] Select if a conflicting proof should be preferred.
Oct 27 2021, 14:17
deadalnix requested changes to D10379: [avalanche] Avoid O(n2) when voting on proofs.
Oct 27 2021, 14:16
deadalnix accepted D10384: [avalanche] Factorize the inflight request timeout handling.
Oct 27 2021, 14:14

Oct 26 2021

deadalnix requested changes to D10390: Support NODE_NETWORK_LIMITED filtering by default.

Please send a link to the PR itself so we can see the discussion and associated code.

Oct 26 2021, 21:49
deadalnix added inline comments to D10388: [avalanche] Select if a conflicting proof should be preferred.
Oct 26 2021, 21:17
deadalnix requested changes to D10379: [avalanche] Avoid O(n2) when voting on proofs.
Oct 26 2021, 21:14
deadalnix added inline comments to D10384: [avalanche] Factorize the inflight request timeout handling.
Oct 26 2021, 21:13
deadalnix requested changes to D10384: [avalanche] Factorize the inflight request timeout handling.
Oct 26 2021, 21:12
deadalnix accepted D10377: [avalanche] Orphan the conflicting proofs rather than ignoring them.
Oct 26 2021, 21:07
deadalnix accepted D10389: [avalanche] Make the proof builders build a ProofRef.
Oct 26 2021, 21:06
deadalnix accepted D10383: [avalanche] Remove the invalid peers before the orphans rescan.
Oct 26 2021, 00:14

Oct 25 2021

deadalnix accepted D10370: [avalanche] Clarify the proof accessor API.
Oct 25 2021, 21:12

Oct 21 2021

deadalnix requested changes to D10379: [avalanche] Avoid O(n2) when voting on proofs.
Oct 21 2021, 20:23
deadalnix accepted D10378: [avalanche] Determine proof acceptance status from the peer manager.
Oct 21 2021, 20:21
deadalnix requested changes to D10377: [avalanche] Orphan the conflicting proofs rather than ignoring them.

I think this is probably worth splitting in two, that would make review significantly easier.

Oct 21 2021, 20:16
deadalnix requested changes to D10370: [avalanche] Clarify the proof accessor API.

Overall, lgtm. This is indeed much better.

Oct 21 2021, 20:13

Oct 20 2021

deadalnix accepted D10354: [Cashtab] Remove Prettier from dependency tree and align formatting in Web folder.
Oct 20 2021, 23:01
deadalnix accepted D10369: [avalanche] Check utxos integrity in the peer manager.
Oct 20 2021, 15:26

Oct 19 2021

deadalnix accepted D10359: [avalanche] Decode the payout script and proof signature in the decodeavalancheproof RPC.
Oct 19 2021, 22:46

Oct 18 2021

deadalnix accepted D10327: [avalanche] Refactor the vote records to inv extraction loop.
Oct 18 2021, 18:12
deadalnix accepted D10365: [avalanche] Don't reserve a slot for block voting.
Oct 18 2021, 18:07
deadalnix added inline comments to D10327: [avalanche] Refactor the vote records to inv extraction loop.
Oct 18 2021, 10:47

Oct 15 2021

deadalnix requested changes to D10354: [Cashtab] Remove Prettier from dependency tree and align formatting in Web folder.

I'm sorry none of this makes sense.

Oct 15 2021, 20:48
deadalnix requested changes to D10359: [avalanche] Decode the payout script and proof signature in the decodeavalancheproof RPC.
Oct 15 2021, 20:43
deadalnix accepted D10362: Remove extra brackets.
Oct 15 2021, 20:23
deadalnix accepted D10361: Move the current release notes to the doc folder.
Oct 15 2021, 18:47
deadalnix requested changes to D10327: [avalanche] Refactor the vote records to inv extraction loop.
Oct 15 2021, 18:45
deadalnix accepted D10358: [avalanche] Split the AvalancheProof class into legacy and regular in the test framework.
Oct 15 2021, 18:40
deadalnix added inline comments to D10342: [avalanche] Introduce ProofRef as an alias for std::shared_ptr<Proof>.
Oct 15 2021, 11:45
deadalnix accepted D10342: [avalanche] Introduce ProofRef as an alias for std::shared_ptr<Proof>.
Oct 15 2021, 11:44
deadalnix accepted D10353: [Website] Remove GNC post for new site launch.
Oct 15 2021, 11:43
deadalnix accepted D10355: [avalanche] Make the proof comparator able to work with proofs and proof pointers.
Oct 15 2021, 11:43
deadalnix accepted D10356: [avalanche] Make ProofRef a shared pointer to a const proof.
Oct 15 2021, 11:41
deadalnix added inline comments to D10354: [Cashtab] Remove Prettier from dependency tree and align formatting in Web folder.
Oct 15 2021, 00:08

Oct 14 2021

deadalnix closed D10350: Set result_emulated to a value that is known to be wrong in intmath_tests.cpp.
Oct 14 2021, 20:03
deadalnix committed rABCddb609db747c: Set result_emulated to a value that is known to be wrong in intmath_tests.cpp (authored by deadalnix).
Set result_emulated to a value that is known to be wrong in intmath_tests.cpp
Oct 14 2021, 20:03
deadalnix requested changes to D10342: [avalanche] Introduce ProofRef as an alias for std::shared_ptr<Proof>.
Oct 14 2021, 20:03
deadalnix closed D10347: Use using instead of typedef for CTransactionRef.
Oct 14 2021, 16:33
deadalnix committed rABCefb0b41bf04d: Use using instead of typedef for CTransactionRef (authored by deadalnix).
Use using instead of typedef for CTransactionRef
Oct 14 2021, 16:33
deadalnix accepted D10349: [avalanche] Convert the test utils to use proof shared pointers.
Oct 14 2021, 16:32
deadalnix requested review of D10350: Set result_emulated to a value that is known to be wrong in intmath_tests.cpp.
Oct 14 2021, 16:31
deadalnix requested review of D10347: Use using instead of typedef for CTransactionRef.
Oct 14 2021, 15:27
deadalnix requested changes to D10342: [avalanche] Introduce ProofRef as an alias for std::shared_ptr<Proof>.
Oct 14 2021, 15:17
deadalnix accepted D10151: [avalanche] Only sign the subset of data we want to commit the stakes to.
Oct 14 2021, 14:49
deadalnix requested changes to D10327: [avalanche] Refactor the vote records to inv extraction loop.
Oct 14 2021, 14:48

Oct 13 2021

deadalnix accepted D10140: [avalanche] Sign the avalanche proof.
Oct 13 2021, 21:14

Oct 12 2021

deadalnix closed D10313: Remove an old boost workaround.
Oct 12 2021, 13:52
deadalnix committed rABC01b107eadabe: Remove an old boost workaround (authored by deadalnix).
Remove an old boost workaround
Oct 12 2021, 13:52