Stemming from How can a private key be imported to a descriptor wallet? (comment), can't really understand how timestamp is a mandatory argument.

Every elements in a descriptor have an activation date. Like public keys from genesis and witness from segwit ca. 2016/2017. Propagating those up the descriptor format/lang, this causes the descriptor as a whole have a minimum sensible timestamp.

The current source code just seems to add unnecessary usage complexity, like... in cases when the user doesn't know what's the useful timestamp for some descriptor, they are forced to choose (potentially wrongly) an arbitrary date instead of letting the source code make an informed guess based on analyzing descriptor elements to infer a minimum reasonable guess, or analyze everything anyway as a most naive solution.

I know this reasoning isn't entirely valid because one can add arbitrary data before softfork activation, but even so, let's consider a reasonable timestamp is genesis for any possible descriptor.

How does this not make sense, for timestamp is mandatory in importdescriptors?


1 Answer 1


As in every open-source project, the answer to "Why isn't feature X implemented?" is simply that nobody has added it. Maybe whoever worked on it didn't consider the option, maybe they found it too much work, or maybe they didn't think it'd be valuable.

Even though the feature may appear obvious or even trivial to you as a user, it still requires developer and reviewer time to add it. Unless you pay someone to do it for you, you're not entitled to other people's time.

Pull requests welcome, of course.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.