Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
68460b0
generate 12-block chain
AloeareV Oct 16, 2025
89e1fcd
make prev_hash-consistent mock branching chain
AloeareV Oct 17, 2025
8605f6b
mockchain source todo impl
AloeareV Oct 17, 2025
dd6c43b
first draft BlockchainSource mock impl
AloeareV Oct 20, 2025
86feb70
some part of the block commitment hack is failing
AloeareV Oct 20, 2025
f6d50b9
wip
AloeareV Oct 22, 2025
dc1d00c
sync loop failure now triggers shutdown
AloeareV Oct 22, 2025
971f418
test now apparently functions! Next step: actually assserting things...
AloeareV Oct 22, 2025
08359ed
tidy make_chain
AloeareV Oct 23, 2025
71d0c27
get compiling after zebra_3 update
AloeareV Dec 9, 2025
45c9b0f
bit more info
AloeareV Dec 10, 2025
5b3a590
fix after cherry-pick
AloeareV Dec 15, 2025
e585152
Unify ChainSegment type
AloeareV Dec 15, 2025
713b224
test currently shows with a 50% chance of a reorg on any request for …
AloeareV Dec 15, 2025
2d3fc5e
zaino attempting to reorg below genesis: investigate
AloeareV Dec 15, 2025
f0861c9
sync differently. Main chain path complete-ish, reorg path todoed
AloeareV Dec 16, 2025
0576cea
cleanup before reorg handling
AloeareV Dec 17, 2025
32c7fdb
start reimplementing handle reorg
AloeareV Dec 17, 2025
4b6aa22
reorg management complete untested
AloeareV Dec 18, 2025
312dc9d
revert to previous proptest reorg logic, finish nfs sync
AloeareV Dec 18, 2025
5e0b9ac
remove unused imports
AloeareV Dec 19, 2025
00fc05d
add minimal find fork point assertion
AloeareV Dec 19, 2025
1d2e4e9
ignore failing test
AloeareV Dec 19, 2025
96aaefe
feat(config): add Docker DNS hostname resolution support
gustavovalverde Dec 19, 2025
828e0f3
clippify
AloeareV Dec 19, 2025
4633dd5
Merge branch 'proptest_non_best_chains' into fix_sync
AloeareV Dec 19, 2025
a1ebed5
Merge branch 'dev' into proptest_non_best_chains
zancas Dec 19, 2025
4b36bd3
make block height non-optional, and use alternate means to determine …
AloeareV Dec 19, 2025
c6ec85a
cleanup printlns
AloeareV Dec 19, 2025
dd985c1
Merge remote-tracking branch 'origin/proptest_non_best_chains' into p…
AloeareV Dec 19, 2025
42c5603
Merge branch 'proptest_non_best_chains' into fix_sync
AloeareV Dec 19, 2025
246fc79
clippify
AloeareV Dec 19, 2025
89a103a
don't ignore make_chain now that it passes
AloeareV Dec 19, 2025
4978f48
fix get_transaction_status
AloeareV Jan 6, 2026
9f72074
refactor(config): make cookie auth config-based, not address-type-based
gustavovalverde Jan 7, 2026
9153e75
added proptest-regressions to .gitignore
fluidvanadium Jan 9, 2026
895c285
added clarifying comment
fluidvanadium Jan 9, 2026
f1469f1
removed dbg
fluidvanadium Jan 9, 2026
88f7c39
Added explanation of a function.
fluidvanadium Jan 9, 2026
0abfaea
Swapped order of blocks in blocks_containing_transaction to prioritiz…
fluidvanadium Jan 9, 2026
185a8e4
Added clarifying comment.
fluidvanadium Jan 9, 2026
b50ea7d
Added some comments to a function. They contain -? because I think th…
fluidvanadium Jan 9, 2026
a891e6f
Clarifying comment.
fluidvanadium Jan 9, 2026
b9ae3be
clarify comment
fluidvanadium Jan 12, 2026
c555901
remove debugs
fluidvanadium Jan 12, 2026
f6a8abb
Clarified comments.
fluidvanadium Jan 12, 2026
4432f83
updated finalised state documentation
idky137 Jan 14, 2026
5420ce1
Updated comments as per Github discussion.
fluidvanadium Jan 14, 2026
9e00b9b
Merge pull request #793 from fluidvanadium/fix_sync_review
fluidvanadium Jan 14, 2026
74f3e6d
Merge pull request #787 from zingolabs/fix_sync
fluidvanadium Jan 14, 2026
c16bebc
Merge pull request #771 from zingolabs/proptest_non_best_chains
fluidvanadium Jan 15, 2026
d64cfd0
improved error message
fluidvanadium Jan 18, 2026
fc16f54
Merge pull request #798 from fluidvanadium/error_message
AloeareV Jan 19, 2026
31d0d85
Merge pull request #795 from idky137/update_finalized_state_documenta…
AloeareV Jan 20, 2026
339f40e
Merge branch 'dev' into feat/docker-hostname-resolution
nachog00 Jan 21, 2026
b689a31
Merge pull request #784 from gustavovalverde/feat/docker-hostname-res…
nachog00 Jan 22, 2026
1e89508
Merged doc-comments
fluidvanadium Jan 27, 2026
d1f5a60
refactor(config): migrate from figment to config-rs
gustavovalverde Jan 27, 2026
5a6a525
docs(config): fix outdated comment about cookie auth requirement
gustavovalverde Jan 27, 2026
49e5241
Merge pull request #469 from gustavovalverde/feat-config-rs
nachog00 Jan 27, 2026
67c5789
Squashed 'zaino-proto/lightwallet-protocol/' changes from b314868d..2…
pacu Dec 28, 2025
19371c5
Enable build.rs
pacu Dec 28, 2025
ce8a418
WIP - Add `vin` and `vout` to `CompactTx`
pacu Oct 28, 2025
eff6206
Fix compiler errors from updated proto files
pacu Nov 1, 2025
b27f289
Deprecate get_address_txids for Light Clients
pacu Nov 5, 2025
370aa4f
Prune CompactTx according to requested PoolType vector
pacu Nov 6, 2025
7ba3dfe
Fix `get_compact_block` Optional unwrap
pacu Nov 12, 2025
48de138
use helper function to convert pool_types from `Vec<i32>` to type
pacu Nov 12, 2025
8ac2463
fix rebase issues
pacu Nov 12, 2025
bf9c2b9
Create CHANGELOG.md file for zaino-proto
pacu Dec 28, 2025
ef57266
Create a utils.rs file for helper methods
pacu Dec 29, 2025
d0e6b61
Create a GetBlockRange Error Enum
pacu Nov 22, 2025
c5e67cc
add Scaffold for BlockRange validation
pacu Nov 22, 2025
db79626
Impl ValidatedGetBlockRangeRequest
pacu Nov 22, 2025
a6f1ec4
Refactor BlockRange request validation
pacu Nov 22, 2025
a17d467
Refactor request validation for get_block_range_nullifiers
pacu Nov 22, 2025
42f5fc7
refactor state service `get_block_range` to use a validated request
pacu Nov 24, 2025
2eba5cb
Document ValidatedBlockRangeRequest
pacu Dec 3, 2025
372cb27
Add changes to zaino-proto's CHANGELOG
pacu Dec 3, 2025
bf5c6db
Adopt changes from Lightclient-protocol v0.4.0
pacu Dec 28, 2025
7a8e129
cargo fmt
pacu Dec 12, 2025
2b94987
Fix compiler errors
pacu Dec 12, 2025
b30a70e
deprecate FullTransaction::to_compact() in favor of to_compact_tx
pacu Dec 12, 2025
31d961b
Deprecation of `to_compact` for Block and Transaction
pacu Dec 17, 2025
4257eb4
Add a test that checks if transparent data is there when requested
pacu Dec 29, 2025
b573714
Add tests for fetch and state servico on default pool type requests
pacu Nov 25, 2025
71842d5
Add state_service_get_block_range_returns_xxxx_pools tests
pacu Nov 27, 2025
ccca705
Fix state_service_get_block_range_returns_all_pools test
pacu Nov 27, 2025
d6efb82
Fix get_block_range_default_request_returns_all_pools_regtest
pacu Dec 2, 2025
7ce0dc1
Implement transparent data tests for fetch service
pacu Dec 2, 2025
a83e213
Fix test wallet client initialization failure
pacu Dec 30, 2025
89abb78
Add documentation on how to update zaino-proto's git subtree
pacu Dec 30, 2025
b895ad1
Clean up tests a bit and add docs
pacu Jan 16, 2026
130ab23
Add convenience methods to `PoolTypeFilter` and tests
pacu Jan 20, 2026
f8e4160
Ensure that all Full to Compact conversions account for PoolTypes
pacu Jan 20, 2026
13bc1e6
Fix transparent data tests
pacu Jan 20, 2026
6aa8866
minor fixes (updates) to rpc_api.md
LarryRuane Jan 19, 2026
dffd889
fix test `block_range_no_pool_type_returns_sapling_orchard` for Zcashd
pacu Jan 21, 2026
4d84ba0
fix test zcashd::get::block_range_returns_all_pools_when_requested
pacu Jan 22, 2026
cb02566
Implement PoolTypeFilter default() as Default trait impl
pacu Jan 26, 2026
fe26a5f
Fix error messages per PR Review comments
pacu Jan 26, 2026
8828ba0
remove unnecessary .bak file
pacu Jan 26, 2026
de59694
add `From<T>` trait impl for `FetchServiceError` and `StateServiceError`
pacu Jan 26, 2026
0d8f1d0
cargo fmt
pacu Jan 26, 2026
5c39247
make rustfmt ignore generated files and revert `service.rs` formatting
pacu Jan 27, 2026
a1fc0ba
updated get_compact_block
idky137 Jan 23, 2026
d34e89d
implemented get_compact_block_stream in v1 database
idky137 Jan 26, 2026
660cf99
updated database interface
idky137 Jan 26, 2026
75bc971
added db migration (fixed migrationmanager), added db CHANGELOG
idky137 Jan 27, 2026
1aecb9c
added db compact block streamer tests
idky137 Jan 27, 2026
ad23141
updated db changelog
idky137 Jan 27, 2026
c3682e3
review comment changes
idky137 Jan 28, 2026
d3c727a
fix v1::get_compact_blocks test
idky137 Jan 29, 2026
3048401
fixed test_pool_type_filter_t_z_o
idky137 Jan 29, 2026
863a9cd
fixed get_transparent_data_from_compact_block_when_requested
idky137 Jan 29, 2026
32b7104
clippy fix
idky137 Jan 29, 2026
29474bd
move `zaino_state::utils::blockid_to_hashorheight` to zaino-proto
pacu Jan 29, 2026
e82fbe1
remove rustfmt TOML to avoid fmt warnings
pacu Jan 29, 2026
86244b1
cargo fmt
pacu Jan 29, 2026
c21edf7
cargo clippy
pacu Jan 29, 2026
6a41ffa
Create new CHANGELOG files and update existing ones
pacu Jan 29, 2026
da2717f
Merge pull request #788 from pacu/feature/lightclient-protocol-v0.4.0
idky137 Jan 30, 2026
e38f122
fixed zaino-state/src/chain_index/tests/proptest_blockgen.rs
idky137 Feb 2, 2026
811d04f
merge conflicts
idky137 Feb 2, 2026
d7661b0
updated ChainIndex::get_compact_block
idky137 Feb 2, 2026
e685085
added compact block streamer to chain index, switched fetchservice to…
idky137 Feb 2, 2026
e340d17
test and bug fixes
idky137 Feb 3, 2026
b752840
merge conflicts
idky137 Feb 3, 2026
08ffe1e
fixed get_transparent_data_from_compact_block_when_requested
idky137 Feb 3, 2026
48c91e9
Merge remote-tracking branch 'idky137/chain_index_integration' into u…
idky137 Feb 3, 2026
35b4475
remove unused import
idky137 Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ docker_cargo/**/*
container-target/
.local/
.failed-tests
**/proptest-regressions/**
192 changes: 192 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
# Changelog
All notable changes to this library will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this library adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
- [808] Adopt lightclient-protocol v0.4.0

### Added
### Changed
- zaino-proto now references v0.4.0 files
### Removed
- `

### Deprecated
- `zaino-fetch::chain:to_compact` in favor of `to_compact_tx` which takes an
optional height and a `PoolTypeFilter` (see zaino-proto changes)
-
## [v0.4.0] - 2025-12-03

### Added
- `compact_formats.CompactTxIn`
- `compact_formats.TxOut`
- `service.PoolType`
- `service.LightdInfo` has added fields `upgradeName`, `upgradeHeight`, and
`lightwalletProtocolVersion`
- `compact_formats.CompactTx` has added fields `vin` and `vout`,
which may be used to represent transparent transaction input and output data.
- `service.BlockRange` has added field `poolTypes`, which allows
the caller of service methods that take this type as input to cause returned
data to be filtered to include information only for the specified protocols.
For backwards compatibility, when this field is set the default (empty) value,
servers should return Sapling and Orchard data. This field is to be ignored
when the type is used as part of a `service.TransparentAddressBlockFilter`.

### Changed
- The `hash` field of `compact_formats.CompactTx` has been renamed to `txid`.
This is a serialization-compatible clarification, as the index of this field
in the .proto type does not change.
- `service.Exclude` has been renamed to `service.GetMempoolTxRequest` and has
an added `poolTypes` field, which allows the caller of this method to specify
which pools the resulting `CompactTx` values should contain data for.

### Deprecated
- `service.CompactTxStreamer`:
- The `GetBlockNullifiers` and `GetBlockRangeNullifiers` methods are
deprecated.
- `zaino_fetch::FullTransaction::to_compact` deprecated in favor of `to_compact_tx` which includes
an optional for index to explicitly specify that the transaction is in the mempool and has no
index and `Vec<PoolType>` to filter pool types according to the transparent data changes of
lightclient-protocol v0.4.0
- `zaino_fetch::chain::Block::to_compact` deprecated in favor of `to_compact_block` allowing callers
to specify `PoolTypeFilter` to filter pools that are included into the compact block according to
lightclient-protocol v0.4.0
- `zaino_fetch::chain::Transaction::to_compact` deprecated in favor of `to_compact_tx` allowing callers
to specify `PoolTypFilter` to filter pools that are included into the compact transaction according
to lightclient-protocol v0.4.0.

## [v0.3.6] - 2025-05-20

### Added
- `service.LightdInfo` has added field `donationAddress`
- `service.CompactTxStreamer.GetTaddressTransactions`. This duplicates
the `GetTaddressTxids` method, but is more accurately named.

### Deprecated
- `service.CompactTxStreamer.GetTaddressTxids`. Use `GetTaddressTransactions`
instead.

## [v0.3.5] - 2023-07-03

### Added
- `compact_formats.ChainMetadata`
- `service.ShieldedProtocol`
- `service.GetSubtreeRootsArg`
- `service.SubtreeRoot`
- `service.CompactTxStreamer.GetBlockNullifiers`
- `service.CompactTxStreamer.GetBlockRangeNullifiers`
- `service.CompactTxStreamer.SubtreeRoots`

### Changed
- `compact_formats.CompactBlock` has added field `chainMetadata`
- `compact_formats.CompactSaplingOutput.epk` has been renamed to `ephemeralKey`

## [v0.3.4] - UNKNOWN

### Added
- `service.CompactTxStreamer.GetLatestTreeState`

## [v0.3.3] - 2022-04-02

### Added
- `service.TreeState` has added field `orchardTree`

### Changed
- `service.TreeState.tree` has been renamed to `saplingTree`

## [v0.3.2] - 2021-12-09

### Changed
- `compact_formats.CompactOrchardAction.encCiphertext` has been renamed to
`CompactOrchardAction.ciphertext`

## [v0.3.1] - 2021-12-09

### Added
- `compact_formats.CompactOrchardAction`
- `service.CompactTxStreamer.GetMempoolTx` (removed in 0.3.0) has been reintroduced.
- `service.Exclude` (removed in 0.3.0) has been reintroduced.

### Changed
- `compact_formats.CompactSpend` has been renamed `CompactSaplingSpend`
- `compact_formats.CompactOutput` has been renamed `CompactSaplingOutput`

## [v0.3.0] - 2021-07-23

### Added
- `service.CompactTxStreamer.GetMempoolStream`

### Removed
- `service.CompactTxStreamer.GetMempoolTx` has been replaced by `GetMempoolStream`
- `service.Exclude` has been removed as it is now unused.

## [v0.2.4] - 2021-01-14

### Changed
- `service.GetAddressUtxosArg.address` has been replaced by the
repeated field `addresses`. This is a [conditionally-safe](https://protobuf.dev/programming-guides/proto3/#conditionally-safe-changes)
format change.
- `service.GetAddressUtxosReply` has added field `address`

## [v0.2.3] - 2021-01-14

### Added
- `service.LightdInfo` has added fields:
- `estimatedHeight`
- `zcashdBuild`
- `zcashdSubversion`

## [v0.2.2] - 2020-10-22

### Added
- `service.TreeState`
- `service.GetAddressUtxosArg`
- `service.GetAddressUtxosReply`
- `service.GetAddressUtxosReplyList`
- `service.CompactTxStreamer.GetTreeState`
- `service.CompactTxStreamer.GetAddressUtxos`
- `service.CompactTxStreamer.GetAddressUtxosStream`

## [v0.2.1] - 2020-10-06

### Added
- `service.Address`
- `service.AddressList`
- `service.Balance`
- `service.Exclude`
- `service.CompactTxStreamer.GetTaddressBalance`
- `service.CompactTxStreamer.GetTaddressBalanceStream`
- `service.CompactTxStreamer.GetMempoolTx`
- `service.LightdInfo` has added fields:
- `gitCommit`
- `branch`
- `buildDate`
- `buildUser`

## [v0.2.0] - 2020-04-24

### Added
- `service.Duration`
- `service.PingResponse`
- `service.CompactTxStreamer.Ping`

### Removed
- `service.TransparentAddress` was removed (it was unused in any service API).

## [v0.1.1] - 2019-11-27

### Added
- `service.Empty`
- `service.LightdInfo`
- `service.TransparentAddress`
- `service.TransparentAddressBlockFilter`
- `service.CompactTxStreamer.GetTaddressTxids`
- `service.CompactTxStreamer.GetLightdInfo`
- `service.RawTransaction` has added field `height`

## [v0.1.0] - 2019-09-19

Initial release
Loading