mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-10-22 07:15:30 +02:00
Timestamp 0 is allowed and it does not seem a reason to have a minimum timestamp > 0 other than some carried value from legacy wallet. Lowering simplifies importdescriptors because, before this change, if a timestamp 0 was set by the user it would be overwritten by the minimum timestamp, but error messages should still report timestamp 0. Negative timestamps are now invalid and throw.
249 B
249 B
RPC
- The minimum timestamp for
importdescriptorsis set to0instead of1. Additionally negative timestamps are now invalid inimportdescriptors, passing a timestamp below0will throw with error code-8(RPC_INVALID_PARAMETER).