Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Technical error in Chapter 7 #1093

Open
sgmavinkurve opened this issue Jan 30, 2024 · 2 comments
Open

Technical error in Chapter 7 #1093

sgmavinkurve opened this issue Jan 30, 2024 · 2 comments

Comments

@sgmavinkurve
Copy link

In "Transaction Lock Time Limitations" in Chapter 7, the following line is technically incorrect:

Bob cannot transmit the transaction to redeem the funds until 3 months have elapsed.

Even though Alice sets the transaction lock time to 3 months in the future, Bob can still transmit this transaction to the Bitcoin network immediately. However, the transaction will not be valid and will not be included in a block by miners until the 3-month period has elapsed. This is an important distinction because it highlights that the lock time restricts the validation of the transaction rather than its transmission.

@murchandamus
Copy link
Contributor

At least a Bitcoin Core node will not accept a timelocked transaction into its mempool until it can be included in the next block. Only transactions accepted into a node’s mempool will be relayed. In so far, that sentence seems accurate to me: the locked transaction will not be relayed on the network until the timelock matures.

@sgmavinkurve
Copy link
Author

Either way, Bob is still able to transmit the transaction to the network. Whether nodes accept it and whether miners include it in a block is a separate matter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants