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

Jtw/initial in memory work confirmer #11625

Closed
wants to merge 84 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
c53bb4c
initial commit for inmemory implementation
poopoothegorilla Oct 31, 2023
b75d260
some cleanup
poopoothegorilla Nov 1, 2023
41a572d
Merge branch 'develop' into jtw/initial-in-memory-work
poopoothegorilla Nov 1, 2023
3dde323
fix tests
poopoothegorilla Nov 2, 2023
201a2dd
add some functions for the in memory store
poopoothegorilla Nov 6, 2023
0c1d6cf
Merge branch 'develop' into jtw/initial-in-memory-work
poopoothegorilla Nov 6, 2023
b565d45
implement a few more methods for the in memory store
poopoothegorilla Nov 6, 2023
faf670f
some clean up
poopoothegorilla Nov 7, 2023
178b0f0
add check for inprogress txn
poopoothegorilla Nov 7, 2023
fe25a26
make some changes to testing
poopoothegorilla Nov 7, 2023
a0ac2a3
reorganize tests
poopoothegorilla Nov 7, 2023
a28aa80
start initialization function; add priority queue system; change stor…
poopoothegorilla Nov 8, 2023
e2f3a87
add initialization to address state
poopoothegorilla Nov 14, 2023
91bea75
change loops to not use range
poopoothegorilla Nov 14, 2023
5314284
clean up idempotency key location
poopoothegorilla Nov 15, 2023
5a908be
add find latest sequence
poopoothegorilla Nov 15, 2023
9872283
remove FindLatestSequence from persistent interface
poopoothegorilla Nov 15, 2023
df5e946
add UnconfirmedTransactions to TxSoreWebApi
poopoothegorilla Nov 15, 2023
fcb9021
Merge branch 'develop' into jtw/initial-in-memory-work
poopoothegorilla Dec 11, 2023
5d78868
address comments
poopoothegorilla Dec 11, 2023
a0a1a79
fix tests
poopoothegorilla Dec 11, 2023
89d1056
fix bug in tests
poopoothegorilla Dec 11, 2023
3663bd0
run go generate
poopoothegorilla Dec 12, 2023
17cd10d
Merge branch 'develop' into jtw/initial-in-memory-work
poopoothegorilla Dec 12, 2023
54b7ecc
address comment
poopoothegorilla Dec 12, 2023
f8e0175
update inmemory store to implement txstore interface
poopoothegorilla Dec 12, 2023
df1a11a
cleanup tests
poopoothegorilla Dec 12, 2023
5452d02
Merge branch 'develop' into jtw/initial-in-memory-work
poopoothegorilla Dec 12, 2023
5f0f6da
Merge branch 'develop' into jtw/initial-in-memory-work
poopoothegorilla Dec 14, 2023
f24eea7
add deepcopy
poopoothegorilla Dec 14, 2023
ff892a1
initial confirmer work
poopoothegorilla Dec 14, 2023
cabb7bf
implement a few more methods
poopoothegorilla Dec 15, 2023
2efe71b
implement findTxesPendingCallback
poopoothegorilla Dec 18, 2023
39936cf
UpdateTxCallbackCompleted
poopoothegorilla Dec 18, 2023
d601c85
initial work on SaveFetchedReceipts
poopoothegorilla Dec 18, 2023
f51da91
implement FindTxesByMetaFieldAndStates
poopoothegorilla Dec 18, 2023
bc54da3
implement FindTxsWithMetaFieldByStates
poopoothegorilla Dec 18, 2023
7906c9a
implement FindTxesWithMetaFieldByReceiptBlockNum
poopoothegorilla Dec 18, 2023
f092364
implement FindTxesWithAttemptsAndReceiptsByIdsAndState
poopoothegorilla Dec 19, 2023
74b97c1
implement PruneUnstartedTxQueue
poopoothegorilla Dec 19, 2023
af5442a
add fatalerrored
poopoothegorilla Dec 19, 2023
12209c0
implement DeleteInProgressAttempt
poopoothegorilla Dec 19, 2023
da30a83
implement more methods
poopoothegorilla Dec 19, 2023
bffbdfa
implement more methods
poopoothegorilla Dec 20, 2023
b7b8f3d
cleanup
poopoothegorilla Dec 21, 2023
52e0c2a
updates
poopoothegorilla Dec 21, 2023
a47f98a
implement updateTxForRebroadcast
poopoothegorilla Jan 4, 2024
121c98b
implement FindTxsRequiringGasBump
poopoothegorilla Jan 4, 2024
3f46194
finish initial implementation of core methods of txStore
poopoothegorilla Jan 4, 2024
325fb12
remove testing since this will be in future work
poopoothegorilla Jan 5, 2024
5f4a2a5
Merge branch 'jtw/initial-in-memory-work' into jtw/initial-in-memory-…
poopoothegorilla Jan 5, 2024
18a4355
improve deepCopy methods
poopoothegorilla Jan 5, 2024
0091ac3
deep copy returning txns and txAttempts
poopoothegorilla Jan 5, 2024
1fe825c
add locks for any instance where the txstore is working with addressS…
poopoothegorilla Jan 5, 2024
9ed1651
cleanup
poopoothegorilla Jan 5, 2024
204d5ff
address some feedback
poopoothegorilla Jan 9, 2024
2535e27
address more comments
poopoothegorilla Jan 9, 2024
b1bfd67
some cleanup in inmemory storage
poopoothegorilla Jan 9, 2024
f4d9b0f
change address state locks to read locks where applicable
poopoothegorilla Jan 11, 2024
a20f477
update comments
poopoothegorilla Jan 17, 2024
90a4c9d
cleanup line break changes
poopoothegorilla Jan 17, 2024
3a66a05
create AllTransactions db query
poopoothegorilla Jan 17, 2024
da1df83
add more comments to priority queue, fix naming issues
poopoothegorilla Jan 19, 2024
ba5ef07
fix save replacement in progress attempt
poopoothegorilla Jan 19, 2024
9108232
remove txstore req of address state
poopoothegorilla Jan 22, 2024
f44ea22
use counts to initialize map sizes
poopoothegorilla Jan 22, 2024
041bf61
cleanup reliance on sequences
poopoothegorilla Jan 22, 2024
970db2b
move MaxConfirmedSequence logic from addressState to caller
poopoothegorilla Jan 22, 2024
b62a43e
cleanup
poopoothegorilla Jan 22, 2024
1709cae
small cleanup
poopoothegorilla Jan 22, 2024
6ff08e9
Merge branch 'develop' into jtw/initial-in-memory-work-confirmer
poopoothegorilla Jan 25, 2024
2274b2a
update pruning and create transaction work
poopoothegorilla Jan 25, 2024
f5a2a4b
Merge branch 'develop' into jtw/initial-in-memory-work-confirmer
poopoothegorilla Feb 7, 2024
c31911c
update MoveUnstartedToInProgress
poopoothegorilla Feb 7, 2024
c2cb7bd
clean up MoveInProgressToUnconfirmed
poopoothegorilla Feb 7, 2024
bccbf50
Merge branch 'develop' into jtw/initial-in-memory-work-confirmer
poopoothegorilla Feb 8, 2024
19fbe95
run make generate
poopoothegorilla Feb 8, 2024
dac6114
fix bug where used txFromAddress instead of txRequestFromAddress
poopoothegorilla Feb 8, 2024
1c9ec0d
address initial comments
poopoothegorilla Feb 14, 2024
fb8be7c
fix some txAttempt loops
poopoothegorilla Feb 16, 2024
526981d
address some comments
poopoothegorilla Feb 16, 2024
a6c68c5
update address_state
poopoothegorilla Feb 16, 2024
aae832f
add back sql ErrNoRows
poopoothegorilla Feb 16, 2024
43e8211
add back sql ErrNoRows to evm_tx_store
poopoothegorilla Feb 16, 2024
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
Loading
Loading