-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
support testmempoolaccept
for both bitcoind
and btcd
#2053
Commits on Jan 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 44abf0a - Browse repository at this point
Copy the full SHA 44abf0aView commit details -
mempool: add new method
checkMempoolAcceptance
This commit breaks the `maybeAcceptTransaction` into two parts - the first is reading the mempool to validate the transaction, and the relevant logic has been moved into the new method `checkMempoolAcceptance`. The second part is writing to the mempool, and is kept in the method `maybeAcceptTransaction`.
Configuration menu - View commit details
-
Copy full SHA for 2ad8026 - Browse repository at this point
Copy the full SHA 2ad8026View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca4261f - Browse repository at this point
Copy the full SHA ca4261fView commit details -
multi: add more bitcoind versions to the
BackendVersion
This commit adds bitcoind version 22.0 and 25.0 to our `BackendVersion` set to handle the `testmempoolaccept` RPC calls. A unit test is added to make sure the parser works as expected.
Configuration menu - View commit details
-
Copy full SHA for 889cdb4 - Browse repository at this point
Copy the full SHA 889cdb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7e4028 - Browse repository at this point
Copy the full SHA c7e4028View commit details -
mempool+rpcserver: add interface
TxMempool
This commit adds a new interface `TxMempool` which defines how other subsystems interact with `TxPool`.
Configuration menu - View commit details
-
Copy full SHA for 4842b23 - Browse repository at this point
Copy the full SHA 4842b23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c9f7fe - Browse repository at this point
Copy the full SHA 6c9f7feView commit details -
multi: map
btcd
mempool acceptance errors to bitcoind's `testmempoo……laccept` This commit creates a `RejectReasonMap` to map the errors returned from `btcd` to bitcoind's `testmempoolaccept` so the `RejectReason` is unified at the RPC level. To make sure the map keys are unique, the error strings are modified in `btcd`.
Configuration menu - View commit details
-
Copy full SHA for ef54c49 - Browse repository at this point
Copy the full SHA ef54c49View commit details -
Configuration menu - View commit details
-
Copy full SHA for c104e72 - Browse repository at this point
Copy the full SHA c104e72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8817ebd - Browse repository at this point
Copy the full SHA 8817ebdView commit details -
gomod: run
go mod tidy
for all modulesAlso add the `make tidy-module` copied from `lnd`.
Configuration menu - View commit details
-
Copy full SHA for fbe65bf - Browse repository at this point
Copy the full SHA fbe65bfView commit details