New answers tagged

3

The RPC you're looking for is testmempoolaccept. It checks whether a raw transaction would be accepted into the local mempool, without actually doing so. Only transactions that satisfy all consensus rules, plus various policy rules, are accepted into the mempool. Am I correct in stating that the sendrawtransaction RPC method first validates a transaction ...


1

txid - hash of the transaction itself Indeed. It is the hash of the transaction without witness data included (if any). hash - hash of the transaction itself. If transaction is non-segwit, txid == hash, otherwise in segwit transactions the transaction hash is different. Indeed. It is the hash of the transaction with witness data included (if any). The ...


Top 50 recent answers are included