Add missing Transaction attributes
Add missing Transaction.{blockstampTime,hash,block_number,received}
attributes in a way that it does not destroy the generation of Tx for sending.
As made for time
attribute in !58 (fc30ac27).
Add missing Transaction.{blockstampTime,hash,block_number,received}
attributes in a way that it does not destroy the generation of Tx for sending.
As made for time
attribute in !58 (fc30ac27).
added ~341 enhancement labels
changed the description
mentioned in issue silkaj#22 (closed)
changed milestone to %1.0.0
changed milestone to %0.60.0
Concerning hash: Transaction.sha_hash
is already available. Do we need anything more ?
Transaction.sha_hash()
is a method (function defined in a class) not an attribute (variable defined in a class).
curl https://g1.duniter.org/blockchain/block/417600
[…]
"transactions": [
{
"version": 10,
"currency": "g1",
"locktime": 0,
"hash": "64091C68200FE2E524952B0FFA411B715833ED43F83BFB1528D3820C425B74EB",
"blockstamp": "417598-00000014D8673249A2DD71571AD121CCF8B1EB2DDC6C6BC8C1737B4AECC9B184",
"blockstampTime": 1619116268,
[…]
blockstampTime
,hash
are still there, but block_number
, and received
seem to be gone, or they are in the raw format.