sidetree.js
sidetree.js copied to clipboard
Add Support for "Who anchored" the transaction to the transaction data model
Observer should note "who wrote the transaction to the ledger"...
maybe this is the "writer" property... which is currently set to "writer"...
maybe add timing information to transactions observed as well....
yup, we need to use the "writer" property and set it to the ethereum address who made the transaction
Looks like this hasn't been addressed yet?
> db.transactions.findOne();
{
"_id" : ObjectId("61c4bad88070be268cdd0132"),
"anchorString" : "1.EiBV7a9R8F83nqph9W8lj3sSHojXKSNMUAkR-t7Ua27uNw",
"transactionNumber" : NumberLong(0),
"transactionTime" : 8662822,
"transactionTimeHash" : "0xcc1c8cedd53e2d61faa2811e4819a0db995be01a8db030d8f49794a9335f3498",
"transactionFeePaid" : 0,
"normalizedTransactionFee" : 0,
"writer" : "writer"
}
Running a ropsten node, it looks like the default value of writer is used in the transactions collection.
@BenjaminMoe this is related to the question regarding blocks raised in the DIF slack.
