Skip to content

Commit bd57d96

Browse files
committed
add note about estimatefee caching
1 parent b1cc5b8 commit bd57d96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/protocol-methods.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ be confirmed within a certain number of blocks.
193193

194194
0.00101079
195195

196+
.. note:: This estimate typically comes from the Bitcoin daemon, which only updates
197+
its estimate when new blocks are mined. The server is free to cache this internally
198+
for performance reasons, however it SHOULD avoid sending stale estimates
199+
by e.g. invalidating the cache before notifying clients of a new block header.
200+
196201

197202
blockchain.headers.subscribe
198203
============================

0 commit comments

Comments
 (0)