At what block height may locktimed transactions get included?

Transactions with outputs whose sequence is smaller than UINT_MAX are interpreted as locked until the timestamp or block height specified in nLockTime is reached. Specifically regarding the block height, I read imprecise or disagreeing information on whether a transaction may be included in a block of height > nLockTime or height ≥ nLockTime. Which of…

How to verify a signed message in bitcoinj?

I want to verify, in Java, a signature produced with bitcoin core’s signmessagewithprivkey (equivalent to the verifymessage). I noticed a bitcoinj method similar to the bitcoin core’s verifymessage – org.bitcoinj.core.ECKey.verify. What follows is my implementation attempt and its test. For testing I will generate a signature and check it in bitcoin core: >bitcoin-cli signmessagewithprivkey $(bitcoin-cli…

How To Get Master Fingerprint

say I have master private key from dumpwallet command: extended private masterkey: tprv8ZgxMBicQKsPdcg8UJAGEEQM6zQgyxgXXXXXXXX from there, I derived child key using bx hd-private command $ xprv=tprv8ZgxMBicQKsPdcg8UJAGEEQM6zQgyxgXXXXXXXX $ bx hd-private $xprv which returned tprv8cjtAjqzS1Qm8w6YmhLhreacNCw8nPk9PiXXXXXX I want to derive hardenned addresses within BIP141 m/0’/0’/* (ex. m/0’/0’/0′) using bitcoin-cli deriveaddresses, which I need a correct descriptor. $ acctKey=tprv8cjtAjqzS1Qm8w6YmhLhreacNCw8nPk9PiXXXXXX $…