• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

Are consensus rules allowed to be associated with off-chain information and how is the locktime consensus rule?

approx by approx
January 2, 2024
in Bitcoin
0
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


  1. Does this mean that consensus rules are only those related to data from the chain, and any rule that is in any way connected to information outside the chain (such as comparison, subtraction, addition, or anything else with something from the real world) cannot be part of consensus rules because we can all perceive that ‘something outside the chain’ differently, even if we are entirely correct/honest?

Yes, consensus rules can only depend on information that is committed to by block hashes. Anything cannot be guaranteed to be observed identically by every validator, at every point in time. And when consensus rules yield different results for different validators, the chain can fork.

Note that it doesn’t even need dishonesty; after all, we only care about honest nodes behaving correctly. To use the example of real-world time, nodes can receive blocks at different point in time (due to propagation delays, network infrastructure failures, or even just due to a node synchronizing from scratch only years later). In all these cases, nodes must come to the exact same conclusion at every point in time about which blocks are valid or invalid, or a fork occurs.

  1. Do consensus rules have to be such that something is either forever correct or forever incorrect, and not that it can become correct or incorrect over time (for example, a block with a certain timestamp becomes valid at some point)? When I say forever, I do not consider cases when consensus rules change.

Yes. Think of the consensus rules abstractly as a function which is given as input an entire chain of blocks (so a block with all its ancestors, not including any blocks that were once part of the chain but got reorganized out), and returns either “valid” or “invalid”. It takes no other other input, and cannot use randomness in the process.

  1. A transaction with a locktime value (set to a timestamp; not to block height) that has not yet occurred must not be part of the block. As far as I know and as I have thought so far, this is a consensus rule. What interests me is how this can be a consensus rule when the comparison will be made with real timestamp, which is off-chain information?

That’s not correct. A transaction with a locktime is compared against the block timestamps, not against real-world time.

Specifically, since BIP113, it is compared against the median of the timestamps of the 11 blocks preceding the block the transaction is included in. Before BIP113, the block’s own timestamp was used.



Source link

Related articles

10 Best Prop Firms In 2026: Payouts, Fees & Rules

10 Best Prop Firms In 2026: Payouts, Fees & Rules

November 24, 2026
Bitcoin At “Fire Sale” Valuations Heading Into Fed Pivot

Bitcoin At “Fire Sale” Valuations Heading Into Fed Pivot

November 24, 2026
Share76Tweet47

Related Posts

10 Best Prop Firms In 2026: Payouts, Fees & Rules

10 Best Prop Firms In 2026: Payouts, Fees & Rules

by Moussa
November 24, 2026
0

Key takeaways Tracked prop firm payouts are nearing $1.97 billion across 45 firms since October 2023, with more than $115...

Bitcoin At “Fire Sale” Valuations Heading Into Fed Pivot

Bitcoin At “Fire Sale” Valuations Heading Into Fed Pivot

by Moussa
November 24, 2026
0

André Dragosch says Fed language is already as hawkish as it was in 2022, and “we are probably close to...

Nvidia’s CEO Saga Hurt Bitcoin Price Twice—When Huang Left and Returned

Nvidia’s CEO Saga Hurt Bitcoin Price Twice—When Huang Left and Returned

by Moussa
November 24, 2026
0

Key TakeawaysHuang’s departure triggered a sharper bitcoin sell-off than the broader stock market, while his return failed to deliver lasting...

How to connect to a public node through json RPC?

by Moussa
November 24, 2026
0

I found a list of public bitcoin nodes here. I am using a php library. How can I connect to...

Anthropic IPO and Bitcoin: the SpaceX liquidity parallel

Anthropic IPO and Bitcoin: the SpaceX liquidity parallel

by Moussa
November 24, 2026
0

Bitcoin’s slide of roughly 25% since October 21 has drawn an unusual diagnosis from one market executive: capital parked ahead...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"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l2JTNFJTBBJTNDZGl2JTIwY2xhc3MlM0QlMjJ0bnAtZmllbGQlMjB0bnAtcHJpdmFjeS1maWVsZCUyMiUzRSUzQ2xhYmVsJTNFJTNDaW5wdXQlMjB0eXBlJTNEJTIyY2hlY2tib3glMjIlMjBuYW1lJTNEJTIybnklMjIlMjByZXF1aXJlZCUyMGNsYXNzJTNEJTIydG5wLXByaXZhY3klMjIlM0UlQzIlQTBCeSUyMGNvbnRpbnVpbmclMkMlMjB5b3UlMjBhY2NlcHQlMjB0aGUlMjBwcml2YWN5JTIwcG9saWN5JTNDJTJGbGFiZWwlM0UlM0MlMkZkaXYlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1idXR0b24lMjIlM0UlM0NpbnB1dCUyMGNsYXNzJTNEJTIydG5wLXN1Ym1pdCUyMiUyMHR5cGUlM0QlMjJzdWJtaXQlMjIlMjB2YWx1ZSUzRCUyMlN1YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News