Page MenuHomePhabricator
Feed Advanced Search

Feb 28 2022

tyler-smith updated the summary of D11101: [avalanche] Don't poll or vote definitively until we have quorum..
Feb 28 2022, 07:18

Feb 23 2022

tyler-smith requested review of D11101: [avalanche] Don't poll or vote definitively until we have quorum..
Feb 23 2022, 16:41

Feb 17 2022

tyler-smith added a comment to D11020: [avalanche] Send a getavaaddr message to our avalanche outbound peers.

This revision looks correct and sufficiently tested. (I failed to submit draft earlier)

Feb 17 2022, 20:37
tyler-smith added a comment to D11010: [avalanche] Extend our outbound connections with avalanche enabled peers.

This revision looks correct and sufficiently tested. (I failed to submit draft earlier)

Feb 17 2022, 20:36

Feb 16 2022

tyler-smith accepted D11035: [avalanche] Request for more avalanche nodes when needed.

These changes look good with the race fixed.

Feb 16 2022, 17:03

Feb 15 2022

tyler-smith accepted D11010: [avalanche] Extend our outbound connections with avalanche enabled peers.

This all looks correctly implemented based on existing patterns. I do have a question about the pattern for outbound connection limiting and handling dead peers, but not something that should be addressed in this revision anyways.

Feb 15 2022, 22:43
tyler-smith accepted D11034: [avalanche] Detect when more nodes are needed.

The actual change is straightforward and correct. All impacted logic branches appear to be tested.

Feb 15 2022, 20:48
tyler-smith accepted D11020: [avalanche] Send a getavaaddr message to our avalanche outbound peers.

This change looks correct and well tested. There is one small code-order change I suggest.

Feb 15 2022, 20:42
tyler-smith accepted D11035: [avalanche] Request for more avalanche nodes when needed.

Looks good. There is one small nit that might be nice to address.

Feb 15 2022, 20:41

Feb 9 2022

tyler-smith accepted D11021: [avalanche] Fix a reversed lock order in ReattemptInitialBroadcast.

This split makes sense and looks correctly implemented. Had to brush up on iterator semantics to make sure I was understanding the behavior around erasing the item and assigning to the next value but it looks good.

Feb 9 2022, 03:41

Feb 4 2022

tyler-smith accepted D10999: include cmath in util_tests.

Verified the removal of the transitive include and that the new one fixes the issue with building.

Feb 4 2022, 22:16
tyler-smith accepted D10830: [avalanche] Add a getavaaddr message.

This revision looks correct and tests look sufficient.

Feb 4 2022, 22:06
tyler-smith abandoned D10482: WIP,TESTS: Beginning of proof pool tests..

This revision was superseded by D10387.

Feb 4 2022, 22:05
tyler-smith closed D10387: [avalanche] Add proof-poll responses.
Feb 4 2022, 22:04
tyler-smith committed rABC3491900468b7: [avalanche] Add proof-poll responses (authored by tyler-smith).
[avalanche] Add proof-poll responses
Feb 4 2022, 22:04
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Update function params documentation.

Feb 4 2022, 04:35

Feb 2 2022

tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Undo unnecessary/ineffectual code re-ordering.

Feb 2 2022, 15:51
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Re-work locks to reduce their scopes.

Feb 2 2022, 15:48
tyler-smith accepted D10788: [avalanche] Update our position according to the vote.

The changes look correct and tests look sufficient. Discussed the intermittent test failure with Fabien and am comfortable with the cause.

Feb 2 2022, 15:19
tyler-smith added inline comments to D10830: [avalanche] Add a getavaaddr message.
Feb 2 2022, 05:45

Feb 1 2022

tyler-smith accepted D10934: [p2p] Small follow-ups to 21528.

These additions and typo-fix look good.

Feb 1 2022, 14:49

Jan 30 2022

tyler-smith accepted D10789: [avalanche] Add a peer replacement cooldown.

The logic and implementation are good. The negative case added to the tests appears sufficient to check the new behavior.

Jan 30 2022, 23:25
tyler-smith added inline comments to D10788: [avalanche] Update our position according to the vote.
Jan 30 2022, 23:19
tyler-smith accepted D10773: [avalanche] Output a proof registration state.

Looks good; no logical changes and the verify result tagging looks like a smart abstraction for this. The tests for the result tags look correct and comprehensive.

Jan 30 2022, 23:09
tyler-smith accepted D10714: [avalanche] Limit the conflicting proof rate.

This logic looks good, correctly implemented, and correctly tested.

Jan 30 2022, 23:05

Jan 28 2022

tyler-smith accepted D10711: [avalanche] Add a method to reject a proof.

Now that the assertion is fixed, this looks correct and ready to go.

Jan 28 2022, 18:06
tyler-smith accepted D10525: [avalanche] Make it possible to replace a proof.

Logic and tests look correct.

Jan 28 2022, 18:05
tyler-smith accepted D10933: [p2p] Reduce addr blackholes.

This makes sense; kind of surprised it didn't work this way before. The implementation and tests look correct. I personally dislike using the presence of m_addr_known this way, but certainly not enough to diverge from the upstream.

Jan 28 2022, 17:37
tyler-smith requested changes to D10934: [p2p] Small follow-ups to 21528.
Jan 28 2022, 17:34
tyler-smith closed D10904: [avalanche] Add send_proof test helper..
Jan 28 2022, 16:52
tyler-smith committed rABC08e108695c3d: [avalanche] Add send_proof test helper. (authored by tyler-smith).
[avalanche] Add send_proof test helper.
Jan 28 2022, 16:51

Jan 26 2022

tyler-smith added inline comments to D10387: [avalanche] Add proof-poll responses.
Jan 26 2022, 11:32
tyler-smith updated the summary of D10387: [avalanche] Add proof-poll responses.
Jan 26 2022, 11:30
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Fix latest feedback items. Fix failures due to lock checks by taking all required locks in once place.

Jan 26 2022, 11:29
tyler-smith requested review of D10904: [avalanche] Add send_proof test helper..
Jan 26 2022, 10:44
tyler-smith accepted D10901: util: Allow use of C++14 chrono literals.

I don't have enough familiarity here to know if this is something we want to adopt, but it appears to be implemented correctly.

Jan 26 2022, 09:59
tyler-smith added a comment to D10773: [avalanche] Output a proof registration state.

Not a strict change request but something to consider. Other than this issue, this changeset looks good/correct.

Jan 26 2022, 09:51
tyler-smith accepted D10727: [avalanche] Poll for the new proofs.

Activating the polling looks correct and the test looks correct and comprehensive.

Jan 26 2022, 09:43
tyler-smith accepted D10712: [avalanche] Simplify the updatedBlockTip handler.

The iterating over proofs instead of peers looks better, and the removal logic appears correctly deduplicated without change in behavior.

Jan 26 2022, 09:38
tyler-smith added inline comments to D10714: [avalanche] Limit the conflicting proof rate.
Jan 26 2022, 09:28
tyler-smith added a comment to D10711: [avalanche] Add a method to reject a proof.

One small additional assertion that I think would be ideal, other than that this behavior, implementation, and test look good.

Jan 26 2022, 09:28
tyler-smith requested changes to D10711: [avalanche] Add a method to reject a proof.

One small additional assertion that I think would be ideal, other than that this behavior, implementation, and test look good.

Jan 26 2022, 09:27

Jan 21 2022

tyler-smith added inline comments to D10711: [avalanche] Add a method to reject a proof.
Jan 21 2022, 07:11
tyler-smith added inline comments to D10788: [avalanche] Update our position according to the vote.
Jan 21 2022, 07:05
tyler-smith added inline comments to D10830: [avalanche] Add a getavaaddr message.
Jan 21 2022, 07:05
tyler-smith added inline comments to D10789: [avalanche] Add a peer replacement cooldown.
Jan 21 2022, 07:01

Jan 17 2022

tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Remove unnecessary format changes.

Jan 17 2022, 03:07
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Fix arc lint issues.

Jan 17 2022, 03:05
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Get tests working correctly.

Jan 17 2022, 02:59
tyler-smith accepted D10774: [avalanche] Use the proof registration state in net processing.

I like this change; in particular, I think it's more understandable with the explicit check for the invalid state.

Jan 17 2022, 02:57

Jan 10 2022

tyler-smith closed D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..
Jan 10 2022, 06:37
tyler-smith committed rABC6979db2ce876: [avalanche] Move block-vote decision into getAvalancheVoteForBlock. (authored by tyler-smith).
[avalanche] Move block-vote decision into getAvalancheVoteForBlock.
Jan 10 2022, 06:36

Dec 22 2021

tyler-smith updated the diff for D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..

Fix unintentional additions.

Dec 22 2021, 20:09
tyler-smith updated the diff for D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..

Move lock out of loop.

Dec 22 2021, 06:41

Dec 20 2021

tyler-smith closed D10685: [avalanche] Make send_poll test helper accept optional type argument..
Dec 20 2021, 15:26
tyler-smith committed rABC003f66910c0d: [avalanche] Make send_poll test helper accept optional type argument. (authored by tyler-smith).
[avalanche] Make send_poll test helper accept optional type argument.
Dec 20 2021, 15:26
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Rebase onto new version of D10686

Dec 20 2021, 00:21
tyler-smith updated the diff for D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..

Addressing some review feedback.

Dec 20 2021, 00:09
tyler-smith added inline comments to D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..
Dec 20 2021, 00:06
tyler-smith added inline comments to D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..
Dec 20 2021, 00:03

Dec 19 2021

tyler-smith added a comment to D10685: [avalanche] Make send_poll test helper accept optional type argument..

Ok, successfully ran ninja check-functional

Dec 19 2021, 23:48
tyler-smith updated the test plan for D10685: [avalanche] Make send_poll test helper accept optional type argument..
Dec 19 2021, 23:48

Dec 15 2021

tyler-smith updated the summary of D10387: [avalanche] Add proof-poll responses.
Dec 15 2021, 16:38
tyler-smith updated the summary of D10387: [avalanche] Add proof-poll responses.
Dec 15 2021, 16:08
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Fix stacking against D10387.

Dec 15 2021, 16:08
tyler-smith requested review of D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock..
Dec 15 2021, 16:05
tyler-smith updated the summary of D10387: [avalanche] Add proof-poll responses.
Dec 15 2021, 15:49
tyler-smith updated the summary of D10685: [avalanche] Make send_poll test helper accept optional type argument..
Dec 15 2021, 15:49
tyler-smith updated the summary of D10685: [avalanche] Make send_poll test helper accept optional type argument..
Dec 15 2021, 15:48
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Address non-functional feedback items.

Dec 15 2021, 15:46
tyler-smith requested review of D10685: [avalanche] Make send_poll test helper accept optional type argument..
Dec 15 2021, 15:43
tyler-smith abandoned D10647: Add .idea to .gitignore..

Thanks, I had missed that. I also didn't know about .git/info/exclude which is useful and sufficient.

Dec 15 2021, 14:59

Dec 10 2021

tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Squashing down patches into single commit.

Dec 10 2021, 03:03

Dec 8 2021

tyler-smith requested review of D10647: Add .idea to .gitignore..
Dec 8 2021, 06:54
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Remove debug statements from test.

Dec 8 2021, 06:50
tyler-smith abandoned D10481: TWEAK: Move cs_main lock to be local to its use..

Superseded by https://reviews.bitcoinabc.org/D10387

Dec 8 2021, 06:48
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Squash linting changes.

Dec 8 2021, 06:45
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Update Avalanche stake-proof poll test description and shorten lines.

Dec 8 2021, 06:42
tyler-smith retitled D10387: [avalanche] Add proof-poll responses from [avalanche[ Add proof-poll responses to [avalanche] Add proof-poll responses.
Dec 8 2021, 06:41
tyler-smith retitled D10387: [avalanche] Add proof-poll responses from TWEAK: Start adding proof-poll responses. to [avalanche[ Add proof-poll responses.
Dec 8 2021, 06:28
tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Add functional tests for Avalanche proof-polling.

Dec 8 2021, 06:24

Dec 7 2021

tyler-smith added inline comments to D10615: [avalanche] Add an API to accept or reject a proof.
Dec 7 2021, 18:19

Dec 6 2021

tyler-smith added inline comments to D10525: [avalanche] Make it possible to replace a proof.
Dec 6 2021, 18:24

Nov 22 2021

tyler-smith updated the diff for D10387: [avalanche] Add proof-poll responses.

Fix build and remove untested code additions.

Nov 22 2021, 06:33

Nov 17 2021

tyler-smith requested review of D10482: WIP,TESTS: Beginning of proof pool tests..
Nov 17 2021, 16:55
tyler-smith requested review of D10481: TWEAK: Move cs_main lock to be local to its use..
Nov 17 2021, 16:25

Oct 23 2021

tyler-smith requested review of D10387: [avalanche] Add proof-poll responses.
Oct 23 2021, 05:08