Repository navigation
v2.1.0
Breaking changes:
GET/POSTblockchain/wallets/:wallet_id/accounts/metadatais removed;
range read is nowGET blockchain/wallets/:wallet_id/accounts?start=N&end=M
(same behaviour: both params required, span ≤ 10 000, all indices must exist)
New features:
- Batch account creation —
POST .../accounts/batch count=Nderives up to 10 000
accounts in a single request; the entire batch is rejected upfront if any index
would exceed the BIP-44 maximum (2147483647), so no partial writes for
out-of-range batches - Per-wallet atomic counter —
ethereumBackendholds async.Mapof per-wallet
mutex locks; counter read-increment-write is fully serialised within the active
Vault node, preventing duplicate index assignment under concurrent requests - Range read on collection endpoint —
GET .../accounts?start=N&end=Mreplaces
the dedicated/metadatapath;vault readand HTTP GET with query params
both work
Bug fixes:
start/endvalues beyond2147483647now return a clear validation error
instead of silently wrapping
Other:
- Unit tests: partial-write self-heal,
UpdateOperationrouting,_missingStart
/_missingEndMethod-A validation matrix, path registration assertions for
ReadOperationonaccounts/? - E2E smoke test extended with range-read step (
vault read .../accounts start=2 end=3)