Solidity Contrat
Ethereum
hashchain.records.
Record
get_content
Get the original content of the record
dict
get_hash
Get the hex hash of the record
str
hex string
get_previous_hash
Get the previous hash
hex
to_dict
Return a dict of the complete record along with the hex string of the record’s hash and the previous hash
update
Updates the record and recalculated the hash
new_content (dict) – new record’s content
None
verify
Verifies a given list of records dicts
records_dicts (list) – list of Records objects
list
bool
returns True if the list is valid. Raise ValueError if not valid.