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

ledger: create catchpoint tracker #3085

Merged
merged 27 commits into from
Nov 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3d790ec
stage
tsachiherman Oct 15, 2021
471e1ee
more
tsachiherman Oct 15, 2021
ae06434
stage
tsachiherman Oct 15, 2021
917d2bb
tep
tsachiherman Oct 15, 2021
21a04dd
update tests
tsachiherman Oct 15, 2021
d8a3d19
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Oct 18, 2021
20bf1d5
fix test.
tsachiherman Oct 18, 2021
18d32d4
update reviewdog feedback
tsachiherman Oct 18, 2021
611f7ff
Add comments, reorder methods.
tsachiherman Oct 18, 2021
d988ea8
replace the "driver" construct with accts
tsachiherman Oct 18, 2021
5d23ada
fix typo.
tsachiherman Oct 19, 2021
59581a1
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Oct 20, 2021
e47cc15
update per peer review.
tsachiherman Oct 20, 2021
ef1812d
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Oct 22, 2021
ecd6270
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Oct 25, 2021
d944ad4
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Oct 27, 2021
8deb186
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Oct 29, 2021
ed01c2c
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Nov 1, 2021
5cb458a
Fix false-positive error written during catchpointCatchupTest.exp
tsachiherman Nov 1, 2021
3d10c9f
improve e2e test reliability.
tsachiherman Nov 1, 2021
bf4a69c
Add some more debugging information to WaitForRound
tsachiherman Nov 1, 2021
db09db6
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Nov 3, 2021
8ed4dc2
addressing reviewer comments.
tsachiherman Nov 3, 2021
18133ae
Merge branch 'master' into tsachi/catchpointtracker
tsachiherman Nov 3, 2021
2b9b5b3
fix silly bug.
tsachiherman Nov 3, 2021
aadbf6d
modify expect to dump node log in case of an error.
tsachiherman Nov 4, 2021
848dd28
Fix data race
tsachiherman Nov 4, 2021
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
3 changes: 3 additions & 0 deletions data/pools/transactionPool.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ var ErrStaleBlockAssemblyRequest = fmt.Errorf("AssembleBlock: requested block as

// Reset resets the content of the transaction pool
func (pool *TransactionPool) Reset() {
pool.mu.Lock()
defer pool.mu.Unlock()
defer pool.cond.Broadcast()
pool.pendingTxids = make(map[transactions.Txid]transactions.SignedTxn)
pool.pendingTxGroups = nil
pool.rememberedTxids = make(map[transactions.Txid]transactions.SignedTxn)
Expand Down
977 changes: 24 additions & 953 deletions ledger/acctupdates.go

Large diffs are not rendered by default.

Loading