Make the TransactorNode (Source Node) a standard part of every Transaction #232
Replies: 2 comments
-
I think this is a great idea and adds minimal data(nothing extra to post Txn and just single NodeID to each Txn). I also agree best to do this as a base Txn field. This seems like an easy win - any major drawbacks here other than maybe the processing to de-normalize and additional API payload(which could be a request parameter)? |
Beta Was this translation helpful? Give feedback.
-
Note that denormalizing is extra sugar to make the front end development easier. It's absolutely not necessary since you can just do that on the front end. But we already do that in a number of places ( like having the full User Profile rerturned with posts instead of just the PublicKey, so that seems to make sense in that context. Gotta think of the @Brootles of the world 😎 |
Beta Was this translation helpful? Give feedback.
-
Currently, only the SUBMIT_POST transactions support assigning the Origin Node, and even that is done using ExtraData, which IMHO should not be used for universally useful features this early in the evolution of the DeSo blockchain. Since every single transaction must originate from a specific node ( even the BLOCK_REWARD coming from the mining node ) It would make sense for that information to be part of the base Transaction fields, not extra data:
Current Implementation: ( Submit Posts only )
Proposed Implementation: ( Every single Transaction )
Note that I've de-normalized the Node information but obviously the transaction itself only contains the NodeID ( which should not be an index, but something more robust and decentralized )
Beta Was this translation helpful? Give feedback.
All reactions