transactions – bitcoin rpc submitblock merkle root + uncooked tx (bad-txnmrklroot)

on

|

views

and

comments


I sought after to check the submitblock rpc name in regtest however I appear to have some problems with the transactions I attempt to post.

I’ve the next uncooked transactions:

02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff03016900ffffffff0158660c2a010000001976a914a08da9e35ab58e957204703da9d48967ddd1703b88ac00000000 (coinbase tx)

02000000000101bd04d336a75e3f4cbf2bf249f529afd9d7740e0836be8384d2a392ddca161ecc0100000000fdffffff0240420f0000000000160014bf67ccfbc8e589a2192a74d2e16bc074889b425bf00ed305000000001600149f5283153368455efcd8a24faa97acb1a2c7f616024730440220249d8bcb08b183c15db2a03bcf2abde3d3e09e0d08a6f029fde2725a800de2a202201902749176353383ea8a78afa1080a84dd311453c3ebd95601c09db721cc9c250121024b162d93981a3e60448bbe4efcf57721f1e443ef280933ae7d20e90e612f5d4468000000 (tx1)

020000000001010453faefcc8f26e4734e965e3619deab009f6e4faa2971c34be334e28c67f2650000000000fdffffff0240420f00000000001600141b08d84ee1d89a0b682020d619653613737cb64cf01fe32901000000160014fe841631fe5df0584d22bdc6580c6127d25d25b302473044022073a8008fdef43bc637675114f760689439c4b94a9e59a73fe53919a6f3d4c4a302201f787059a139a6b80eceb02c49ee70ac552d3ca5713ea2c33dcfdceb38cc2850012103c7df223ee6eb22b9f183e807fc0fa3b672f62e9fc2a6316b0ca8fca24d907c7f68000000 (tx2)

02000000000101d43c09b3878100668c3c0f9bac461b092378b47deb989c819dc3f1c0cca4095f0100000000fdffffff022818eb230100000016001420184bf7efc25f9a1ecf99a9c532f5e2c93cdd1340420f000000000016001454e45729918ad5a7fa1130b0be47e6b5cfab16e20247304402200d06ed77a7b20419988d62760ee1aa2bccda92a22ddfbdd16f96319cc7862695022022730ff785e033ecfc5ffb57b6258368aba7896d9414e66c6932e4841033de40012103656e09a3a63bf08aa0ab9177edff3f87d0dbc95dd2f76fbc9ebb5f2323e8036f11000000 (tx3)

I calculated the txids for all of those tx (byte order already reversed):
6c13bf0a4bf648312d82fa454b2f4ad9a4ead32a805009d5949f981c4cf3bd3b (coinbase txid)
0773014af32002fcf11a603aa2c19503e36cb9ca87c6a8c7a8b7c7a1b7a38b11 (txid 1)
143b545dd5809658cf082cd03cb1e9e7645d95afd54d79b71c93e3d4431c46e6 (txid 2)
85e8dfe954afa4139c893dfda796d57700b059595a7986bc906637167de49060 (txid 3)

when put so as, I am getting the next merkle root:
5e76726c3a221c7ef39bbbc6d0ca57dd85d320ac13dda01994c517b7c2fc1385

I post the block by way of submitblock. from the merkle root on it looks as if this:
5e76726c3a221c7ef39bbbc6d0ca57dd85d320ac13dda01994c517b7c2fc1385c03d2465ffff7f20020000000402000000010000000000000000000000000000000000000000000000000000000000000000ffffffff03016900ffffffff0158660c2a010000001976a914a08da9e35ab58e957204703da9d48967ddd1703b88ac0000000002000000000101bd04d336a75e3f4cbf2bf249f529afd9d7740e0836be8384d2a392ddca161ecc0100000000fdffffff0240420f0000000000160014bf67ccfbc8e589a2192a74d2e16bc074889b425bf00ed305000000001600149f5283153368455efcd8a24faa97acb1a2c7f616024730440220249d8bcb08b183c15db2a03bcf2abde3d3e09e0d08a6f029fde2725a800de2a202201902749176353383ea8a78afa1080a84dd311453c3ebd95601c09db721cc9c250121024b162d93981a3e60448bbe4efcf57721f1e443ef280933ae7d20e90e612f5d4468000000020000000001010453faefcc8f26e4734e965e3619deab009f6e4faa2971c34be334e28c67f2650000000000fdffffff0240420f00000000001600141b08d84ee1d89a0b682020d619653613737cb64cf01fe32901000000160014fe841631fe5df0584d22bdc6580c6127d25d25b302473044022073a8008fdef43bc637675114f760689439c4b94a9e59a73fe53919a6f3d4c4a302201f787059a139a6b80eceb02c49ee70ac552d3ca5713ea2c33dcfdceb38cc2850012103c7df223ee6eb22b9f183e807fc0fa3b672f62e9fc2a6316b0ca8fca24d907c7f6800000002000000000101d43c09b3878100668c3c0f9bac461b092378b47deb989c819dc3f1c0cca4095f0100000000fdffffff022818eb230100000016001420184bf7efc25f9a1ecf99a9c532f5e2c93cdd1340420f000000000016001454e45729918ad5a7fa1130b0be47e6b5cfab16e20247304402200d06ed77a7b20419988d62760ee1aa2bccda92a22ddfbdd16f96319cc7862695022022730ff785e033ecfc5ffb57b6258368aba7896d9414e66c6932e4841033de40012103656e09a3a63bf08aa0ab9177edff3f87d0dbc95dd2f76fbc9ebb5f2323e8036f11000000

nonetheless, I am getting the next error: bad-txnmrklroot

do I pass over one thing obtrusive right here or is it a bit of extra difficult?

thank you prematurely

Share this
Tags

Must-read

Tesla Govt Says Repair For Vampire Drain In Sentry Mode Coming In Q2: ‘Energy Intake Wishes Development’ – Tesla (NASDAQ:TSLA)

Tesla Inc TSLA govt, Drew Baglino, on Thursday printed that the corporate is operating on liberating a device replace for decreasing energy intake...

Dividend Kings In Focal point: Phone & Information Techniques

Printed on February twenty second, 2024 through Bob Ciura The Dividend Kings consist of businesses that experience raised their dividends for a minimum of...

Tyler Perry Calls On Leisure Trade, Executive To Corral AI Prior to Everybody Is Out Of Trade

Tyler Perry has observed demonstrations of what AI can do. Whilst he's astonished, he’s additionally sounding an alarm. Perry is already balloting together...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here