CommitSyncData¶
- class dsviper.CommitSyncData¶
Bases:
objectThe commits one database hands another when they synchronize.
commit_datas() is the payload. codec_name() names the codec the opcodes were encoded with, and definitions_hexdigest() the digest of the definitions they were encoded against.
Note: Not directly instantiable.
- codec_name() str¶
Return the name of the codec.
- commit_datas() list[CommitData]¶
Return the list of CommitData.
- definitions_hexdigest() str¶
Return the SHA1 of the definitions, as a hex string.