signet: miner skips PSBT step for OP_TRUE

This commit is contained in:
Sjors Provoost committed 2025-05-19 09:45:35 +02:00
1 parent cdfb70e5a6
commit 0a99d99fe4
4 files changed
+112 -33

No files matched your search

@@ -80,6 +80,9 @@ DIFF_4_N_BITS = 0x1c3fffc0
DIFF_4_TARGET = int(DIFF_1_TARGET / 4)
assert_equal(uint256_from_compact(DIFF_4_N_BITS), DIFF_4_TARGET)
# From BIP325
SIGNET_HEADER = b"\xec\xc7\xda\xa2"
def nbits_str(nbits):
return f"{nbits:08x}"