Commit Graph

22 Commits

Author SHA1 Message Date
2bab58c6d2 lightwalletd: adaptive reorg-lag tip + non-blocking startup coinsupply
Adaptive-lag: advertise a tip that trails the real tip by a reorg-rate-driven
lag (GetLatestBlock/GetLightdInfo) so wallets anchor shielded spends at a
settled height during reorg churn. Configurable via
-adaptive-lag/-lag-min/-lag-max/-lag-window; monitor_lwd.sh runs
-lag-min 4 -lag-max 12 -lag-window 30.

Startup coinsupply: the informational startup coinsupply RPC (result used only
for a log line) blocked the gRPC bind for minutes on a node whose supply index
is cold, keeping the lite endpoint down on every restart while it also starved
the block-cache ingestor. Run it in a goroutine so the bind is never blocked;
clients still get coinsupply on demand via the GetCoinsupply RPC.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 01:05:10 -05:00
ec1c479156 Increase block cache size to 400k for faster wallet sync
- Increase default cache-size from 40,000 to 400,000 blocks
- Add Python gRPC protobuf bindings for testing
2026-03-21 03:50:55 -05:00
f4ef38c42f fix sapling activation height and consensus branch id 2026-03-20 06:11:38 -05:00
dan-s
daab197a01 update for dragonx binary changes, added monitor script 2026-03-04 15:28:02 -06:00
jahway603
0f21f457a6 changed DenioD's github lightwalletd links to git.hush.is lightwalletd links 2020-11-27 22:13:24 -05:00
Denio
01e1d766a0 add coinsupply rpc to lightwalletd 2019-12-05 21:37:35 +01:00
Denio
0978322f62 add longestchain and notarized to lightinfod 2019-12-02 11:42:50 +01:00
Denio
a269cd1e6b add difficulty to lightdinfo 2019-12-02 10:35:38 +01:00
DenioD
f6fa52fde1 port to hush 2019-10-15 14:38:55 +02:00
Aditya Kulkarni
e68b202928 Display hash properly 2019-10-09 15:07:11 -07:00
Aditya Kulkarni
c688de510e Store serialized bytes in cache 2019-10-01 11:05:43 -07:00
Aditya Kulkarni
de305ad0f0 Max reorg limit 2019-09-30 14:13:20 -07:00
Aditya Kulkarni
f8bec5fd2b Handle reorgs > 10 blocks 2019-09-30 13:54:30 -07:00
Aditya Kulkarni
8e6259b258 Add cache invalidation for reorg'd blocks 2019-09-26 11:31:06 -07:00
Aditya Kulkarni
a8cc2424a2 Thread safe cache with separate ingestor 2019-09-25 21:15:32 -07:00
Aditya Kulkarni
fbb75e8f20 Return consensusBranchId 2019-09-25 17:46:05 -07:00
Aditya Kulkarni
6f56b8b8e9 Store compactBlocks 2019-09-25 17:18:27 -07:00
Aditya Kulkarni
d503752588 Block Cache 2019-09-25 15:55:37 -07:00
Aditya Kulkarni
80d6dab9f8 WIP cache 2019-09-25 14:54:15 -07:00
Aditya Kulkarni
d56fe7bf1a Remove SQL from grpc server 2019-09-25 13:28:55 -07:00
Aditya Kulkarni
d59757571d Remove UTXOs call 2019-09-25 11:43:54 -07:00
Aditya Kulkarni
3b4573c4f0 Add chainname and activation height to getinfo 2019-09-18 21:16:15 -07:00