The Hs value in your failing transaction is incorrect. You've written 4e2918eb07facce065c1fcfe610a5b7d18064d64a7b8844d1844872f6d60159f but it should be f9b573a61a7e27c8dc3d48448e4184c117064d64a7b8844d1844872f6d60150f.
This is happening because your Hs function is doing keccak but not sc_reduce32. You were lucky that in the first transaction, the result of ...
It's just the hex of a little-endian byte-order encoded number (i.e. when swapped around you get 0xE8D4A51000).
Perhaps this will help you see:
bin = binascii.unhexlify('0010a5d4e8000000')
unhexlify converts the hex to binary and the format specifier <Q used by ...
Also take tx b43a7ac21e1b60ad748ec905d6e03cf3165e5d8c9e1c61c263d328118c42eaa6 as an example.
We calculate H( H(prefix) || H(base) || H(prunable) ) for TXID.
Actually, we can divide the transaction into 3 parts perfectly without removing any bit.
The first part prefix should be
L = "...
Where are you getting your information about the structure of a transaction?
You forgot to include the hex 0001020005, which consists of the unlock time 00, the number of real inputs in the transaction 01, the input type of the first real input 02, the input amount 00 (0 to indicate it's an encrypted amount), and 05 indicating the number of key offsets that ...
It is a 64 bit little endian unsigned integer.
If you're asking "how do I get a human amount out of an atomic unit number", divide by 1e12. cryptonote::print_money in the Monero source does this without using floating point operations (print the number, then manipulate the string).
How do I view only these transactions that were sent to this subaddress?
[wallet]: help incoming_transfers
incoming_transfers [available|unavailable] [verbose] [uses] [index=<N1>[,<N2>[,...]]]
Show the incoming transfers, all or filtered by availability and address index.
The encrypted/masked amounts are stored in the tx ecdhInfo field.
If you want to view these masked amounts on an explorer:
Scroll to the bottom and click "Show JSON representation of tx".
If you want to view in a daemon:
Beyond the somewhat dated CN doc you referenced, and if you need more specifics, the best resource is really the code. For example, you can see that the tx prefix is serialized (src):
if(version == 0 || CURRENT_TRANSACTION_VERSION < version) return false;
What is the max no of input for Monero tx?
The only restriction affecting the quantity of inputs a tx can include is the overall tx size maximum, 149.4kB [src].
How does it affect the no of decoys?
Each input has its own ring. Thus for each input being spent there is the input itself, 10 decoys and 1 key image.
Does it mean that if the number of ...
Firstly, the market price of Monero in EUR has little bearing on any of this.
Secondly, mined or transferred? The question is not clear. Regardless...
There is no cap on the value amount you can transfer (so long as you obviously own that amount) and the amount of Monero that can be mined is dictated by the emission schedule.
However, when considering ...
"v12" refers to the hard fork version, not the tx version. Given that, and by the mere definition a genesis block is the first block mined, what you're asking makes little sense - compounded by the fact you talk of block versions but are actually referencing the miner tx of a genesis block.
If you are trying to fork Monero with a new chain that ...
Consult to the Varint description and transform from decimal to variant format for key offsets and transaction fee.
[1.] What is the format of key offsets?
799048 -> c8e230
782511 -> afe12f
216704 -> 809d0d
841722 -> faaf33
So the key offsets should be c8e230afe12f958d49809d0dfaaf33
[2.] What is the format of transaction fee?
Same as [...
You will need the address/subaddress and private view key to decode the amounts.
Go to xmrchain.net and fill in the missing address and viewkey.
Edit: Here's some light reading for deeper knowledge of Monero.
Transaction structure is described in detail in Appendix A/B.
Using the example from this question's answer, and following jtgrassie's recommendation to use https://xmrchain.com with "More Details" -> "Show JSON representation of tx", the tx extra field can be found in here.
EDIT: better instructions
Go to https://xmrchain.com
Enter the transaction hash you want to look up, e.g. the example here
Go to bottom of page ...
Is there an example of a transaction that makes use of tx_extra field? Is this public unencrypted data?
Every transaction makes use of tx extra as it places the tx public key in there. The data is public but can be encrypted (e.g. payment IDs are encrypted in extra).
...that is viewable in the monero block explorer?
Select a transaction in https://...
So what exactly the miner_tx_hash field in the block, and what is its relation to the miner_tx and other transactions in the block?
miner_tx_hash is just that - the transaction hash of the miner transaction. The miner transaction is the transaction that pays out the reward for mining the block. The inputs to this tx are type gen as they literally generate ...