Derrick Hammer
|
1a4890a6c0
|
feat: add support to check the local store and inject it 1st as a signed location before going into the network
|
2024-03-02 05:23:39 -05:00 |
Derrick Hammer
|
ed79c80def
|
feat: add Get and Has to fileReferenceMap
|
2024-03-01 22:23:31 -05:00 |
Derrick Hammer
|
9a2d7ebd31
|
feat: add Get and Has to directoryReferenceMap
|
2024-03-01 22:21:49 -05:00 |
Derrick Hammer
|
eb4e4a9f37
|
refactor: use static error object
|
2024-03-01 20:54:16 -05:00 |
Derrick Hammer
|
1c8efbfba8
|
fix: change to parsing MetadataExtensionUpdateCID via bytes
|
2024-03-01 03:41:05 -05:00 |
Derrick Hammer
|
4b6f71ea1a
|
fix: init em.Data
|
2024-03-01 03:30:26 -05:00 |
Derrick Hammer
|
c00fe56389
|
fix: need to cast language items to a string
|
2024-03-01 03:25:20 -05:00 |
Derrick Hammer
|
05522522bf
|
refactor: switch to using new intParse method
|
2024-03-01 03:21:31 -05:00 |
Derrick Hammer
|
1b950bae08
|
fix: init m
|
2024-03-01 03:17:03 -05:00 |
Derrick Hammer
|
d52e20c0e1
|
fix: add type switch for bitrate
|
2024-03-01 03:15:12 -05:00 |
Derrick Hammer
|
40f9ec7cac
|
fix: audiochannels is int8
|
2024-03-01 03:12:14 -05:00 |
Derrick Hammer
|
12f4b7cdff
|
fix: bitrate is uint16
|
2024-03-01 03:10:20 -05:00 |
Derrick Hammer
|
b813f8599f
|
fix: uint16 not int16
|
2024-03-01 03:08:37 -05:00 |
Derrick Hammer
|
52c5af78a9
|
fix: asr is parsed as int16
|
2024-03-01 03:05:11 -05:00 |
Derrick Hammer
|
ab37004d16
|
feat: add msgpack decode to MediaFormat
|
2024-03-01 03:01:30 -05:00 |
Derrick Hammer
|
889d327c3a
|
refactor: use decodeIntMap
|
2024-03-01 02:55:45 -05:00 |
Derrick Hammer
|
9485c023e7
|
fix: init mmd.Data
|
2024-03-01 02:49:50 -05:00 |
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
|
fd786ac3c1
|
refactor: make InitMarshaller signature consistent with InitUnmarshaller
|
2024-02-29 23:36:48 -05:00 |
Derrick Hammer
|
2bf906d31c
|
refactor: change InitUnmarshaller to accept a variable number of metadata types, see if any match, and return what was found
|
2024-02-29 23:35:52 -05:00 |
Derrick Hammer
|
f526202fa3
|
dep: use go 1.21
|
2024-02-29 23:24:30 -05:00 |
Derrick Hammer
|
f279eb7e9d
|
fix: need to use new struct instance, not interface
|
2024-02-29 12:50:20 -05:00 |
Derrick Hammer
|
56704ea184
|
dep: add go.sum
|
2024-02-29 12:25:35 -05:00 |
Derrick Hammer
|
1584c38641
|
fix: check status code, and switch to more light weight http library
|
2024-02-29 12:25:21 -05:00 |
Derrick Hammer
|
7bd9cf11ae
|
refactor: add items methods for directoryReferenceMap and fileReferenceMap
|
2024-02-29 11:32:13 -05:00 |
Derrick Hammer
|
5a0b742139
|
fix: add handshake check to unsigned messages as well
|
2024-02-28 14:13:44 -05:00 |
Derrick Hammer
|
47c82c6a03
|
feat: add new All API that will return all queried locations
|
2024-02-27 10:49:47 -05:00 |
Derrick Hammer
|
e9f4a7b0b9
|
feat: add ability to exclude a list of nodes when querying
|
2024-02-27 07:27:10 -05:00 |
Derrick Hammer
|
82de843ad9
|
fix: only skip if we somehow get called while not started and we aren't starting
|
2024-02-27 04:10:16 -05:00 |
Derrick Hammer
|
e201c899f4
|
refactor: add new starting state
|
2024-02-27 04:07:12 -05:00 |
Derrick Hammer
|
ddde672b3c
|
refactor: add ctx to all services
|
2024-02-27 03:30:45 -05:00 |
Derrick Hammer
|
3a7bf94a08
|
fix: add more mapstructure tags
|
2024-02-27 03:11:00 -05:00 |
Derrick Hammer
|
af3cb367bb
|
fix: need to provide embedded ServiceParams struct
|
2024-02-27 02:52:27 -05:00 |
Derrick Hammer
|
23187704ee
|
fix: remove logger, config, db from params as its already defined in ServiceParams
|
2024-02-27 02:49:03 -05:00 |
Derrick Hammer
|
b0c4597852
|
feat: add mapstructure tags
|
2024-02-23 07:23:33 -05:00 |
Derrick Hammer
|
dfeb8b29a8
|
fix: silently abort early if we have no connections to make
|
2024-01-31 20:20:59 -05:00 |
Derrick Hammer
|
5079db4f03
|
fix: need to use NewDecoder and manually call DecodeMessage and HandleMessage
|
2024-01-30 17:26:06 -05:00 |