feat: ensure NonEmptyKeyValueMap has no duplicate keys.
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
There's no room for duplicates in there. Note that the current approach is not fully optimal because it must still re-traverse the set after decoding it, comparing elements with one another. We may later want to perform that check _while decoding_ (though it would require extra allocation). Another option is to simply decode into a BTreeSet / HashSet, but that requires the underlying T to abide by the relevant requirements. At this point, I am not sure whether ALL Note that this commits drops the support for decode -> encode roundtrip; which is generally *not necessary* so long as we preserve original bytes or hash of relevant structures that needs be re-serialised (transaction, datum, value, script, etc...). Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Akhil Repala <[email protected]>
Revert test
Signed-off-by: Akhil Repala <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
* fix: synchronize access to chainsyncBlockfetchBusyTime Signed-off-by: Chris Guiney <[email protected]> * fix: synchronize access to chainsyncBlockfetchReadyChan Signed-off-by: Chris Guiney <[email protected]> * fix: don't hold lock while waiting for channel read Signed-off-by: Chris Guiney <[email protected]> * chore: remove trailing newline causing pipeline failure Signed-off-by: Chris Guiney <[email protected]> * chore: remove trailing newline causing pipeline failure Signed-off-by: Chris Guiney <[email protected]> --------- Signed-off-by: Chris Guiney <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Guiney <[email protected]>
Signed-off-by: Chris Guiney <[email protected]>