mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
rpc: Support version 3 transaction creation
Adds v3 support to the following RPCs: - createrawtransaction - createpsbt - send - sendall - walletcreatefundedpsbt Co-authored-by: chungeun-choi <cucuridas@gmail.com> Co-authored-by: dongwook-chan <dongwook.chan@gmail.com> Co-authored-by: sean-k1 <uhs2000@naver.com> Co-authored-by: ishaanam <ishaana.misra@gmail.com>
This commit is contained in:
@@ -80,6 +80,9 @@ MAX_OP_RETURN_RELAY = 100_000
|
||||
|
||||
DEFAULT_MEMPOOL_EXPIRY_HOURS = 336 # hours
|
||||
|
||||
TX_MIN_STANDARD_VERSION = 1
|
||||
TX_MAX_STANDARD_VERSION = 3
|
||||
|
||||
MAGIC_BYTES = {
|
||||
"mainnet": b"\xf9\xbe\xb4\xd9",
|
||||
"testnet4": b"\x1c\x16\x3f\x28",
|
||||
|
||||
Reference in New Issue
Block a user