sidetree.js icon indicating copy to clipboard operation
sidetree.js copied to clipboard

Add Support for "Who anchored" the transaction to the transaction data model

Open OR13 opened this issue 5 years ago • 6 comments

Observer should note "who wrote the transaction to the ledger"...

OR13 avatar Aug 11 '20 20:08 OR13

maybe this is the "writer" property... which is currently set to "writer"...

OR13 avatar Aug 11 '20 20:08 OR13

maybe add timing information to transactions observed as well....

OR13 avatar Aug 11 '20 20:08 OR13

yup, we need to use the "writer" property and set it to the ethereum address who made the transaction

gjgd avatar Sep 30 '20 09:09 gjgd

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 avatar Dec 23 '21 18:12 BenjaminMoe

@BenjaminMoe this is related to the question regarding blocks raised in the DIF slack.

OR13 avatar Jan 19 '22 19:01 OR13

Screen Shot 2022-01-19 at 1 55 18 PM

OR13 avatar Jan 19 '22 19:01 OR13