5 votes
Accepted

Are blocks containing non-standard transactions relayed through the network or not as in the case of non-standard transactions?

The block will be relayed if it is valid. Standardness rules have no play in a valid mined block. If it wasn't relayed then the chain would break and that block would probably be reorged out for no ...
fiatjaf's user avatar
  • 611
4 votes

What is "(mempool) policy"?

Standardness refers to a stricter set of rules enforced by full nodes on a transaction in addition to the consensus rules. Policy is an even broader set of rules or processes followed by a node. ...
Antoine Poinsot's user avatar
4 votes

How to identify P2TR output type?

I don't see why that scriptPubKey would be incorrectly marked as P2TR as it absolutely does not follow the expected pattern. BIP 341 is very unambiguous as to the script construction - it must be OP_1 ...
Ava Chow's user avatar
  • 70.4k
3 votes
Accepted

Failing to construct transaction that unlocks P2WSH

The problem is this line: tx.witnesses.append(Script(['OP_5', 'OP_0', p2wsh_witness_script.to_hex()])) Perhaps confusingly, bitcoinutils uses the same API for scripts as it does for witness stacks (...
Vojtěch Strnad's user avatar
3 votes

How can I add more OP_RETURN outputs to a PSBT transaction?

Transactions with more than one OP_RETURN are non-standard and would not be relayed by most of the network. That said using the rust-bitcoin library, which i understand you are using already, you can ...
Antoine Poinsot's user avatar
2 votes

Are blocks containing non-standard transactions relayed through the network or not as in the case of non-standard transactions?

Mempool policy and the standardness rules only apply to unconfirmed transactions. There are no propagation guarantees for unconfirmed transactions. Unconfirmed transactions that conform to a node’s ...
Murch's user avatar
  • 75.1k
1 vote

Do inputs have a minimum value in order to be "standard" transactions?

No, the dust rule only applies to transaction outputs, and it wouldn't make sense otherwise. The policy exists to prevent the creation of outputs that would likely live forever because they are not ...
Vojtěch Strnad's user avatar
1 vote
Accepted

How would I set a more permissive mempool policy?

I had similar motivations when I began running my full node some time ago, and am happy to share my experience and provide suggestions on how to set a more flexible mempool policy. To do so, you need ...
deyw's user avatar
  • 550

Only top scored, non community-wiki answers of a minimum length are eligible