Is it possible to acquire the merkleroot per block with rpc command or core command?
Why is the merkleroot not included in the block header in the cns003.txt?
I see the transaction hashes are included in some rpc responses so must I calculate merkleroot manually?
Calculation of Block Identifier
The identifier of a block is the result of hashing the following data with Keccak:
size of [block_header, Merkle root hash, and the number of transactions] in bytes (varint)
block_header,
Merkle root hash,
number of transactions (varint).
The goal of the Merkle root hash is to "attach" the transactions referred to in the list to the block header: once the Merkle root hash is fixed, the transactions cannot be modified.
get_blockreturns everything needed to calculate the merkle root hash (as outlined in the linked cns003 spec). – jtgrassie Oct 07 '18 at 16:52Where H is the Keccak function that is used throughout CryptoNote, Why won't Keccak calculate the merkle root?
– Satoshi Nakamonero Oct 08 '18 at 18:29Keccak is a hashing function.
– jtgrassie Oct 08 '18 at 19:44