OK sorry, sometime ago along those 4-5months I understood that UTXOS Merkleization is on stateless nodes.
However, comes again another confusion;
where is the TXs Merkle Tree stored?Still after reading those get more mixed up?!!!!!
https://www.oreilly.com/library/view/mastering-bitcoin/9781491902639/ch07.html& tracing the
push_back function in C++, it's used in Vector data structure.
I knew before that TXIDs are stored as a vector
std::vector<CTransactionRef> vtx;
https://github.com/bitcoin/bitcoin/blob/7fcf53f7b4524572d1d0c9a5fdc388e87eb02416/src/primitives/block.h#L66-Is the vector that store transactions a compact representation of a Merkle Tree with no pointers?ie stores a tree strucutre implicitly?or do full nodes just build the tree once to verify the root in the header then deallocate it's space?
-I know Bloom filters (BIP37) and alike send proofs to SPV clients, to send a proof u must have a tree do Bloom filters also calculate proofs then destroy it?
.
-Finally, the Merkle root field in ur reference
"height": 1,
"version": 536870912,
"merkleroot": "37c2334d0314e11d396b5465e9bc5ec7cf0155c13a47f1af2731174331b3b78d",
"tx": [
"37c2334d0314e11d396b5465e9bc5ec7cf0155c13a47f1af2731174331b3b78d"
],
what does it mean?the txid (hash) of the creating TX?or the Merkle root of the block created it?