Skip to content

Conversation

@jnewbery
Copy link

No description provided.

@harding
Copy link
Owner

harding commented Nov 12, 2018

Perfect! Thanks!

@harding harding merged commit 65751fc into harding:2018-11-13-newsletter Nov 12, 2018
@jnewbery jnewbery deleted the lightning_residency branch October 8, 2019 19:02
harding pushed a commit that referenced this pull request Jan 21, 2025
* fix amounts in overflow bug description

easy changes:
INT64_MAX is 9223372036854775807 (2**63-1)
INT64_MIN is -9223372036854775808 (-2**63)

for whatever reason, post #1 in bitcointalk topic 822
( https://bitcointalk.org/index.php?topic=822.0 )
contains a different output amount than post #3
post #1: 92233720368.54277039 (0x7ffffffffff863af)
post #3: 92233720368.54275808 (0x7ffffffffff85ee0)
I'm assuming post #3 ist right, because it's 2**63-500000,
and the sum of outputs is minus 1 million sats (-0.01 BTC).
(9223372036854275808*2 - 2**64 = -1000000)

* Clarify output amount and mention fee

---------

Co-authored-by: Murch <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants