Page MenuHomePhabricator
Feed Advanced Search

Feb 14 2023

sdulfari accepted D13122: miner: Misc small refactor and renaming.
Feb 14 2023, 21:51
sdulfari requested changes to D13121: mempool: Evict transactions by modified feerate.
Feb 14 2023, 21:40
sdulfari requested review of D13128: Improve miner fund whitelist test coverage.
Feb 14 2023, 20:35

Feb 13 2023

sdulfari accepted D13116: miner: Remove use of CPFP in CreateNewBlock.

It is difficult to provide meaningful feedback since the starting code is difficult to read and reason. This seems to move in the right direction since the logic is simplified and there are more removals than additions. The ideal state is a BlockAssembler that pulls packages "off the top" so to speak from the mempool instead of the selection business that it's doing now.

Feb 13 2023, 23:29
sdulfari accepted D13120: fix CTxMemPool::TrimToSize including too many things in pvNoSpendsRemaining.
Feb 13 2023, 17:49
sdulfari accepted D13119: Rename mempool method queryHashes to getAllTxIds.
Feb 13 2023, 17:18

Feb 9 2023

sdulfari closed D13113: Cleanup unnecessary empty set variable in minerfund test.
Feb 9 2023, 19:58
sdulfari committed rABC06bf276f1527: Cleanup unnecessary empty set variable in minerfund test (authored by sdulfari).
Cleanup unnecessary empty set variable in minerfund test
Feb 9 2023, 19:58
sdulfari closed D13114: Fixup unbackported comment in ConnectTip.
Feb 9 2023, 19:58
sdulfari committed rABC2ab8cab908fa: Fixup unbackported comment in ConnectTip (authored by Matt Corallo <git@bluematt.me>).
Fixup unbackported comment in ConnectTip
Feb 9 2023, 19:58
sdulfari abandoned D12987: Move block finalization out of ConnectTip.
Feb 9 2023, 00:27
sdulfari accepted D13110: mempool: Add new index for sorting txs by fee.
Feb 9 2023, 00:13

Feb 8 2023

sdulfari requested review of D13114: Fixup unbackported comment in ConnectTip.
Feb 8 2023, 23:37
sdulfari retitled D13095: Introduce miner fund policy whitelist from Introduce miner fund flags to Introduce miner fund policy whitelist.
Feb 8 2023, 22:30
sdulfari updated the diff for D13095: Introduce miner fund policy whitelist.

Remove the bit flags in favor of a wrapper that calls the appropriate validation path depending on Wellington activation

Feb 8 2023, 22:29
sdulfari requested review of D13113: Cleanup unnecessary empty set variable in minerfund test.
Feb 8 2023, 21:43
sdulfari closed D13071: [consensus] Move miner fund logic into its own function.
Feb 8 2023, 18:05
sdulfari committed rABC9596b195f801: [consensus] Move miner fund logic into its own function (authored by sdulfari).
[consensus] Move miner fund logic into its own function
Feb 8 2023, 18:05
sdulfari closed D13094: Return a set instead of a vector for the miner fund whitelist.
Feb 8 2023, 18:05
sdulfari committed rABC94fab2062c10: Return a set instead of a vector for the miner fund whitelist (authored by sdulfari).
Return a set instead of a vector for the miner fund whitelist
Feb 8 2023, 18:05
sdulfari accepted D13109: mempool: ModifiedFeeRate getter for mempool entry.
Feb 8 2023, 16:55
sdulfari updated the diff for D13094: Return a set instead of a vector for the miner fund whitelist.

Improve test correctness

Feb 8 2023, 16:52

Feb 7 2023

sdulfari updated the diff for D13094: Return a set instead of a vector for the miner fund whitelist.

Add test cases

Feb 7 2023, 23:04
sdulfari updated the diff for D13094: Return a set instead of a vector for the miner fund whitelist.

Cleanup and quick unit test for TxDestinationHasher

Feb 7 2023, 17:11
sdulfari added inline comments to D13094: Return a set instead of a vector for the miner fund whitelist.
Feb 7 2023, 16:48
sdulfari accepted D13108: [buildbot] Fix the buildbot not updating the build status.
Feb 7 2023, 16:43
sdulfari accepted D13104: bench: Reorgs of blocks with long tx chains.
Feb 7 2023, 16:43
sdulfari accepted D13098: Call CHECK_NONFATAL only once where needed.
Feb 7 2023, 00:38
sdulfari accepted D13107: Bench: Add mempool eviction benchmark for chained tx's.

One nit to match the port

Feb 7 2023, 00:37
sdulfari accepted D13106: bench: Reorg benchmarks without mempool removal.
Feb 7 2023, 00:27
sdulfari accepted D13105: bench: CreateNewBlock with long tx chains.
Feb 7 2023, 00:25
sdulfari requested changes to D13104: bench: Reorgs of blocks with long tx chains.
Feb 7 2023, 00:19
sdulfari accepted D13103: bench: Mempool acceptance for chained transactions.
Feb 7 2023, 00:02

Feb 6 2023

sdulfari updated the diff for D13094: Return a set instead of a vector for the miner fund whitelist.

Use unordered_set

Feb 6 2023, 23:04
sdulfari requested review of D13094: Return a set instead of a vector for the miner fund whitelist.

Ordering does not matter at this time. If it did, then the code is broken already. It appears to be designed this way so that the API is more clear if multiple addresses are introduced later.

Feb 6 2023, 19:14
sdulfari accepted D13102: [buildbot] Add links to bchn repo when porting code.
Feb 6 2023, 19:11

Feb 3 2023

sdulfari updated the diff for D13094: Return a set instead of a vector for the miner fund whitelist.

Fix missing vector -> set in the unit test

Feb 3 2023, 20:21

Feb 2 2023

sdulfari requested changes to D13098: Call CHECK_NONFATAL only once where needed.
Feb 2 2023, 19:44
sdulfari accepted D13097: refactor: Introduce GetFirstStoredBlock helper function.
Feb 2 2023, 19:38
sdulfari requested changes to D13100: [tests] show the proofid when representing a proof.

Include limited_proofid too

Feb 2 2023, 19:33
sdulfari accepted D13099: [tests] bump timeout for receiving proof in get_ava_p2p_interface.

The proof in the CI failure was nearly 4 seconds so 5 seconds may not be enough headroom. But this does bring this timeout up to match other similarly short timeouts in avatools. If we hit these timeouts in the future we should look at a more general fix instead of bumping with each failure.

Feb 2 2023, 19:22
sdulfari accepted D13096: util/check: Add CHECK_NONFATAL identity function and a NONFATAL_UNREACHABLE macro.

Looks like the title refers to an extra "UNREACHABLE" that is not there. Please fix before landing.

Feb 2 2023, 19:12
sdulfari accepted D13092: validation: Prune UnloadBlockIndex and callees.
Feb 2 2023, 19:00
sdulfari accepted D13091: make pindexBestForkTip and pindexBestForkBase private CChainState members.
Feb 2 2023, 18:55

Feb 1 2023

sdulfari requested review of D13095: Introduce miner fund policy whitelist.
Feb 1 2023, 22:18
sdulfari requested review of D13094: Return a set instead of a vector for the miner fund whitelist.
Feb 1 2023, 22:09
sdulfari accepted D13090: validation: No mempool clearing in UnloadBlockIndex.

This patch looks ok as it is but the current state of the version bits business needs sorting out.

Feb 1 2023, 17:18
sdulfari accepted D13089: style-only: Use std::clamp for check_ratio, rename.
Feb 1 2023, 17:07
sdulfari accepted D13088: style-only: Use for instead of when loading Chainstate.
Feb 1 2023, 16:57
sdulfari accepted D13087: init: Reset mempool and chainman via reconstruction.
Feb 1 2023, 16:56
sdulfari accepted D13086: validation: default initialize and guard chainman members.
Feb 1 2023, 16:45

Jan 31 2023

sdulfari closed D13075: Add miner fund whitelist unit tests.
Jan 31 2023, 21:58
sdulfari committed rABC994ec4f5cc00: Add miner fund whitelist unit tests (authored by sdulfari).
Add miner fund whitelist unit tests
Jan 31 2023, 21:58
sdulfari closed D13077: Move SetMTP into test utils.
Jan 31 2023, 21:57
sdulfari committed rABCd0962fc829e6: Move SetMTP into test utils (authored by sdulfari).
Move SetMTP into test utils
Jan 31 2023, 21:57
sdulfari accepted D13081: [avalanche] initialize g_avalanche after loading the block chain.

Please monitor IBD test logs for network related messages that indicate Avalanche is not initialized. I don't expect them but let's be sure about it.

Jan 31 2023, 17:41

Jan 30 2023

sdulfari requested review of D13077: Move SetMTP into test utils.
Jan 30 2023, 21:35
sdulfari requested review of D13075: Add miner fund whitelist unit tests.
Jan 30 2023, 21:11
sdulfari updated the diff for D13071: [consensus] Move miner fund logic into its own function.

feedback

Jan 30 2023, 17:11

Jan 27 2023

sdulfari requested review of D13071: [consensus] Move miner fund logic into its own function.
Jan 27 2023, 22:59
sdulfari accepted D13070: Make BlockManager::LoadBlockIndex private.
Jan 27 2023, 16:46

Jan 26 2023

sdulfari added inline comments to D13068: [avalanche] Add transaction management to the processor core.
Jan 26 2023, 17:12
sdulfari accepted D13068: [avalanche] Add transaction management to the processor core.

Cleanup before landing

Jan 26 2023, 17:05
sdulfari closed D13058: Remove 10-block rolling finalization.
Jan 26 2023, 16:55
sdulfari committed rABC19c9d75cfd10: Remove 10-block rolling finalization (authored by sdulfari).
Remove 10-block rolling finalization
Jan 26 2023, 16:55
sdulfari closed D13063: [avalanche] Rewind Avalanche finalization if a finalized block is found to be invalid.
Jan 26 2023, 16:55
sdulfari committed rABC2380eb646f87: [avalanche] Rewind Avalanche finalization if a finalized block is found to be
 (authored by sdulfari).
[avalanche] Rewind Avalanche finalization if a finalized block is found to be

Jan 26 2023, 16:55
sdulfari accepted D13067: [avalanche] Rationalize the options in the processor tests.
Jan 26 2023, 16:49
sdulfari accepted D13066: [avalanche] Add facility to build a vote item from an inventory.
Jan 26 2023, 16:39
sdulfari updated the diff for D13063: [avalanche] Rewind Avalanche finalization if a finalized block is found to be invalid.

Make the comment more informative about the hacky way the invalid block was finalized

Jan 26 2023, 16:35

Jan 25 2023

sdulfari updated the diff for D13058: Remove 10-block rolling finalization.

Rebase on D13064

Jan 25 2023, 23:09
sdulfari accepted D13064: Bump version to 0.26.12.
Jan 25 2023, 23:06
sdulfari added inline comments to D13063: [avalanche] Rewind Avalanche finalization if a finalized block is found to be invalid.
Jan 25 2023, 23:05
sdulfari updated the diff for D13063: [avalanche] Rewind Avalanche finalization if a finalized block is found to be invalid.

Refactor ChainstateManager

Jan 25 2023, 22:58
sdulfari updated the summary of D13058: Remove 10-block rolling finalization.
Jan 25 2023, 18:41
sdulfari updated the diff for D13058: Remove 10-block rolling finalization.

Rebase on D13063

Jan 25 2023, 18:41
sdulfari accepted D13060: [avalanche] Clarify the processor includes.
Jan 25 2023, 17:01
sdulfari requested review of D13063: [avalanche] Rewind Avalanche finalization if a finalized block is found to be invalid.
Jan 25 2023, 16:51
sdulfari accepted D13062: [avalanche] Simplify the processor test item providers by removing addToReconcile specialization.
Jan 25 2023, 16:44
sdulfari accepted D13061: [avalanche] Simplify the processor test item providers by removing registerVotes specialization.
Jan 25 2023, 16:43

Jan 24 2023

sdulfari accepted D13056: rpc: reduce LOCK(cs_main) scope in GetUndoChecked and getblockstats.
Jan 24 2023, 18:34
sdulfari accepted D13057: rpc: reduce LOCK(cs_main) scope in gettxoutproof.
Jan 24 2023, 18:22
sdulfari accepted D13055: rpc: reduce LOCK(cs_main) scope in blockToJSON.
Jan 24 2023, 18:20
sdulfari accepted D13054: rpc: reduce LOCK(cs_main) scope in GetBlockChecked and getblock.
Jan 24 2023, 18:18
sdulfari accepted D13053: zmq: remove LOCK(cs_main) from NotifyBlock.
Jan 24 2023, 18:16
sdulfari accepted D13052: rest: reduce LOCK(cs_main) scope in rest_block.

reference to prerequisite backport that reduced the cs_main locking: https://reviews.bitcoinabc.org/D2979#change-8J68DPC7df8b

Jan 24 2023, 18:15
sdulfari requested review of D13058: Remove 10-block rolling finalization.
Jan 24 2023, 18:00
sdulfari accepted D13050: [avalanche] Add field to the getavalancheinfo RPC to monitor if our proof is shared.
Jan 24 2023, 17:25
sdulfari accepted D13050: [avalanche] Add field to the getavalancheinfo RPC to monitor if our proof is shared.

Patch is good. I will leave final call on the naming to you.

Jan 24 2023, 16:32
sdulfari accepted D13030: [avalanche] Delay the local proof announcement until we have inbounds.
Jan 24 2023, 16:28
sdulfari accepted D13028: [avalanche] Fix a wrong test in abc_rpc_avalancheproof.
Jan 24 2023, 16:26
sdulfari accepted D13029: [avalanche] Allow for overwriting a null delegation with another avahello.
Jan 24 2023, 16:25

Jan 23 2023

sdulfari requested changes to D13030: [avalanche] Delay the local proof announcement until we have inbounds.

Normally wouldn't block on a comment, but the added inbound is not obvious reading the tests by themselves.

Jan 23 2023, 22:35
sdulfari closed D12999: [avalanche] Sync proofs when functional tests call sync_all.
Jan 23 2023, 22:17
sdulfari committed rABC0b22e71ce430: [avalanche] Sync proofs when functional tests call sync_all (authored by sdulfari).
[avalanche] Sync proofs when functional tests call sync_all
Jan 23 2023, 22:17
sdulfari requested changes to D13029: [avalanche] Allow for overwriting a null delegation with another avahello.
Jan 23 2023, 22:16
sdulfari accepted D13027: Bump version to 0.26.11.
Jan 23 2023, 22:03
sdulfari requested changes to D13028: [avalanche] Fix a wrong test in abc_rpc_avalancheproof.

Diff title needs rewriting now that there isn't a typo being fixed

Jan 23 2023, 22:03

Jan 20 2023

sdulfari requested review of D12999: [avalanche] Sync proofs when functional tests call sync_all.
Jan 20 2023, 16:53
sdulfari accepted D12998: [avalanche] Leverage AnyVoteItem to have a single VoteItemUpdate object.
Jan 20 2023, 16:39