Skip to content

Conversation

@luke-jr
Copy link
Member

@luke-jr luke-jr commented Feb 14, 2016

Possible next steps:

  • Enable CLTV-by-time in wallet.
  • Add date/time lock chooser to Receive tab in GUI.
  • Some way for the recipient to prove to the sender that the address is CLTV.

(this feature was requested on reddit)

"3. \"account\" (string, optional) DEPRECATED. An account to assign the addresses to.\n"
"3. options (object, optional)\n"
" {\n"
" \"cltv_height\" (numeric, optional) Minimum block height before received funds can be spent\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about cltv_time as in the createmultisig RPC?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more complex. SelectCoins will need to be taught not to mix height and time locked coins, and FundTransaction to use time rather than height (preferably in more than merely cases that require it, for privacy). Note the code in this RPC call specifically blocks cltv_time for now.

} catch (scriptnum_error) {
break;
}
// 0 CLTV is pointless, so expect at least height 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should keep OP_U32INT independent from CLTV? Allow 0 as value?

@jonasschnelli
Copy link
Contributor

Concept ACK.

@sipa
Copy link
Member

sipa commented May 17, 2016

See also #7601.

@luke-jr
Copy link
Member Author

luke-jr commented Nov 12, 2016

Closing due to apparent lack of interest... If you want to review, poke me and I'll rebase/reopen...

@luke-jr luke-jr closed this Nov 12, 2016
@nickrowley
Copy link

The concept is great, puts new BIPs to the front, if this could get more interest , could result in developers making easy use of new functionality.

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants