Open
Description
Description
Blockchain object can be placed as a transaction sender. To validate transaction that has blockchain_object
as a sender, we'll need to add a new account_type
: AccountTypeBlockchainObject
.
In signature validation, everytime we see a transaction comes from a blockchain object sender:
- look up into
blockchain_object
table, get the owner - validate signature against its owner.
IF the owner of the blockchain object is another blockchain object, we will do another database lookup to get its owner, we'll set a restriction of blockchain-object
as owner to 3 level.
- if we have look up 3 times and the owner is still blockchain object, then validation of signature fails.
Breakdown
- Add new account type
- Update signature validation for the new type.
Additional Diagram / File
Put additional diagram or file