Commit Graph

17 Commits

Author SHA1 Message Date
Derrick Hammer 28ff1eed48
fix: when we have a proof, the body also has a metadata type byte that needs to be validated 2024-03-01 02:46:10 -05:00
Derrick Hammer f350a37e58
fix: don't actually hash the prefix 2024-03-01 02:36:11 -05:00
Derrick Hammer 7c6d11258f
fix: need to prepend HashTypeBlake3 prefix to bodyBytes for b3hash 2024-03-01 02:29:22 -05:00
Derrick Hammer 365ba04844
refactor: strip out the proofSectionLength from all for readability of the offsets 2024-03-01 02:24:20 -05:00
Derrick Hammer efb11a9c50
fix: change +4 to +2 2024-03-01 02:19:35 -05:00
Derrick Hammer 39903f03e5
fix: verify proofData is 4 items 2024-03-01 02:08:54 -05:00
Derrick Hammer 6689c95eea
fix: need to store state vars outside proofData loop 2024-03-01 01:53:43 -05:00
Derrick Hammer 280e5b1d71
fix: strip key type prefix 2024-03-01 01:49:00 -05:00
Derrick Hammer 258031cb8f
fix: need to store state vars outside proofData loop 2024-03-01 01:41:15 -05:00
Derrick Hammer 578cdba32e
refactor: var rename 2024-03-01 01:36:18 -05:00
Derrick Hammer 8d7383c466
fix: check 1st byte of pubkey, not mhashType 2024-03-01 01:35:54 -05:00
Derrick Hammer 5b7d786662
fix: sigType and mhashType are int8 2024-03-01 01:31:22 -05:00
Derrick Hammer 429565562d
fix: need to implement MetadataTypeProof support 2024-03-01 01:24:20 -05:00
Derrick Hammer 7c3ef2ae86
feat: add decoding for MediaMetadata 2024-03-01 00:18:07 -05:00
Derrick Hammer 62bc189678
refactor: add empty metadata struct constructors 2024-01-09 08:16:42 -05:00
Derrick Hammer 2b3a5c98c2
fix: metadata structs need to inherit BaseMetadata 2024-01-09 08:16:14 -05:00
Derrick Hammer a499dcf544
feat: initial media structs 2024-01-05 08:58:13 -05:00