Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defer consensus verification #2350

Draft
wants to merge 52 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
ce4b15d
Add verification to consensus
StephenButtolph Nov 20, 2023
6ba4e25
Improve height monitoring
StephenButtolph Nov 20, 2023
4c6433c
nit
StephenButtolph Nov 20, 2023
548c178
merged
StephenButtolph Nov 20, 2023
464dd31
Finish moving verification into consensus
StephenButtolph Nov 20, 2023
a1d0653
wip add VerifyProposer
StephenButtolph Nov 20, 2023
ae3f144
Cleanup snowman consensus
StephenButtolph Nov 21, 2023
f090502
nit
StephenButtolph Nov 21, 2023
43c2a43
reduce diff
StephenButtolph Nov 21, 2023
8be33ac
merged
StephenButtolph Nov 21, 2023
23834c5
fix
StephenButtolph Nov 21, 2023
320484d
wip
StephenButtolph Nov 21, 2023
222f2a6
nit
StephenButtolph Nov 21, 2023
0b06e44
wip
StephenButtolph Nov 21, 2023
92fd787
reduce diff
StephenButtolph Nov 21, 2023
bd5be37
minimal maps + sets
StephenButtolph Nov 21, 2023
dfa3889
wip
StephenButtolph Nov 21, 2023
6250a87
compiling
StephenButtolph Nov 21, 2023
4d99680
Add metric
StephenButtolph Nov 21, 2023
aad5d8a
merged
StephenButtolph Nov 21, 2023
d25d5a0
rate limit reverification
StephenButtolph Nov 21, 2023
fa8b0e2
nit
StephenButtolph Nov 21, 2023
0f18b3d
ok
StephenButtolph Nov 21, 2023
0cf9cc0
Add last accepted info to consensus health check
StephenButtolph Nov 21, 2023
bc07b9f
nit
StephenButtolph Nov 21, 2023
29f67c0
nit
StephenButtolph Nov 21, 2023
eb6700a
Merge branch 'expand-consensus-health-check' into deferred-verification
StephenButtolph Nov 21, 2023
37b8dca
nit
StephenButtolph Nov 21, 2023
ae55ed5
fix metric
StephenButtolph Nov 21, 2023
11f5e37
Add ideal accepted block verification count metric
StephenButtolph Nov 21, 2023
456c49b
Merge branch 'dev' into deferred-verification
StephenButtolph Nov 21, 2023
f81f9eb
nit
StephenButtolph Nov 21, 2023
ffbc96d
wip
StephenButtolph Nov 22, 2023
f6c0949
wip
StephenButtolph Nov 23, 2023
3b817f2
wip
StephenButtolph Nov 23, 2023
743e176
fix unit tests
StephenButtolph Nov 23, 2023
6a35a2c
Merge branch 'dev' into options-before-verify
StephenButtolph Nov 23, 2023
527c22c
fix typo
StephenButtolph Nov 23, 2023
5edf87a
nit
StephenButtolph Nov 23, 2023
7d49953
nit
StephenButtolph Nov 23, 2023
decdd10
merged
StephenButtolph Nov 23, 2023
6655c06
fix tests
StephenButtolph Nov 23, 2023
8d266a8
Merge branch 'dev' into options-before-verify
StephenButtolph Nov 25, 2023
73c06c0
merged
StephenButtolph Nov 25, 2023
f0cfa6d
Merge branch 'dev' into options-before-verify
StephenButtolph Nov 29, 2023
82b4338
Merge branch 'dev' into options-before-verify
StephenButtolph Dec 4, 2023
0e37af9
Merge branch 'dev' into options-before-verify
StephenButtolph Dec 5, 2023
f1ff7c0
merged
StephenButtolph Dec 5, 2023
2e863f4
Merge branch 'dev' into options-before-verify
StephenButtolph Dec 5, 2023
92363ec
Allow errors from Options() calls
StephenButtolph Dec 5, 2023
dc6e557
add test
StephenButtolph Dec 5, 2023
d565479
Merge branch 'options-before-verify' into deferred-verification
StephenButtolph Dec 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/DataDog/zstd v1.5.2
github.com/Microsoft/go-winio v0.5.2
github.com/NYTimes/gziphandler v1.1.1
github.com/ava-labs/coreth v0.12.9-rc.0
github.com/ava-labs/coreth v0.12.9-rc.1
github.com/ava-labs/ledger-avalanche/go v0.0.0-20231102202641-ae2ebdaeac34
github.com/btcsuite/btcd/btcutil v1.1.3
github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/ava-labs/coreth v0.12.9-rc.0 h1:Xvk/iJTY2MSBkkiOs9Eo92nxd67VXzRjaC/WmQXRIb0=
github.com/ava-labs/coreth v0.12.9-rc.0/go.mod h1:rECKQfGFDeodrwGPlJSvFUJDbVr30jSMIVjQLi6pNX4=
github.com/ava-labs/coreth v0.12.9-rc.1 h1:ndCmoEkVh8Wd+ZsmomRFc0YGBlIEKeq1TnM1MMcGf6w=
github.com/ava-labs/coreth v0.12.9-rc.1/go.mod h1:xIQnrSZ7KnhJql9mvGiQKAzdef9ot2lKqgoIoQ7QzuE=
github.com/ava-labs/ledger-avalanche/go v0.0.0-20231102202641-ae2ebdaeac34 h1:mg9Uw6oZFJKytJxgxnl3uxZOs/SB8CVHg6Io4Tf99Zc=
github.com/ava-labs/ledger-avalanche/go v0.0.0-20231102202641-ae2ebdaeac34/go.mod h1:pJxaT9bUgeRNVmNRgtCHb7sFDIRKy7CzTQVi8gGNT6g=
github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g=
Expand Down
Loading
Loading