fix(cbor): update fields in structs for better alignment
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
- Defer on_metadata callback until after parsing deposits from UTxOState[1] - Parse deposits field correctly (previously hardcoded to 0) - Fix stream_utxos to consume break marker for indefinite-length maps - Return UTXO count from stream_utxos for accurate metadata - Update callback order: metadata now called after all data, before on_complete - Update documentation to reflect new callback invocation order Metadata now reports accurate pot balances: - Deposits: 4,612,238,000,000 lovelace (~4.6M ADA) - UTXO count: 11,199,911 This ensures correct accounting of the deposits pot which is critical for bootstrap state distribution.
Co-authored-by: Carlos Tomé Cortiñas <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
- Add streaming_snapshot.rs with callback-based parser - Add parser.rs with manifest validation - Add hash.rs and pool_params.rs for snapshot types - Move Account/AccountDRep types into streaming_snapshot.rs (internal only) - Add AccountState to stake_addresses.rs for external API - Add sha2 dependency for integrity checking - Include test fixtures for validation
Signed-off-by: Roland Kuhn <[email protected]>
Implement fPoolParams as in the Shelley specification