2
0
mirror of https://github.com/lnbook/lnbook synced 2024-11-18 21:28:03 +00:00
Commit Graph

1698 Commits

Author SHA1 Message Date
Andreas M. Antonopoulos
ea333901cc
Merge pull request #740 from Roasbeef/pay-channel-edits
ch-07: technical edits to payment channels chapter
2021-07-16 07:23:37 -05:00
Rene Pickhardt
f43315bb47
suggested a new structure
could probably be better but maybe we can iterate a bit on it.
2021-07-14 00:46:32 +02:00
Olaoluwa Osuntokun
8cca51da73
ch-07: mention upfront shutdown scripts in co-op close section
We haven't described the set of TLV fields here used in the modern
protocol though, so we may want to enumerate all the fields used as the
top to provide more context. Alternatively, we can house them all in a
sort of  index chapter and refer to that instead.
2021-07-11 18:20:40 -07:00
Olaoluwa Osuntokun
5a4483bdaa
ch-07: describe the use of state hints in breach revocation
Could possibly be moved up to the section describing funding, as both
sides need to be able to derive the proper state hints to arrive at the
same set of commitment transactions.
2021-07-11 18:20:34 -07:00
Olaoluwa Osuntokun
ef61f03939
ch-07: mention asymmetric commitments is for ascribing blame 2021-07-11 18:20:31 -07:00
Olaoluwa Osuntokun
3e69fa297d
ch-07: add more precise algo for generating a chan_id 2021-07-11 18:20:27 -07:00
Olaoluwa Osuntokun
0ab01e51cc
ch-07: use more precise description of segwit w.r.t transaciton malleability 2021-07-11 18:20:24 -07:00
Olaoluwa Osuntokun
13933cc194
ch-07: mention sorting of funding keys for multi-sig witness script 2021-07-11 18:20:21 -07:00
Olaoluwa Osuntokun
5e0229160e
ch-07: mention asymmetry w.r.t interpretation of to_self_delay field
A party can't pick its to_self_delay (the CSV delay) itself, as that
would mean they can set it to effectively zero and be able to breach at
will. Instead, both sides propose a CSV delay for the other, effectively
enforcing time delay that allows them to act in the face of a breach.
2021-07-11 18:20:18 -07:00
Olaoluwa Osuntokun
567254ac9a
ch-07: typo fix in warning for push_msat field 2021-07-11 18:20:15 -07:00
Olaoluwa Osuntokun
f34f8e6995
ch-07: qualify what "sufficient confirmations" is for chan funding 2021-07-11 18:20:12 -07:00
Olaoluwa Osuntokun
4c205376b5
ch-07: mention commitment tx as synonym for refund transaction 2021-07-11 18:20:09 -07:00
Olaoluwa Osuntokun
999aff3de8
ch-07: use unaffiliated public key for node URI example
Similar to the prior commit, here we remove another piece of personally
identifiable information: the public key of Rene's known (?) routing
node on the public network.
2021-07-11 18:20:07 -07:00
Olaoluwa Osuntokun
ea04f6c633
ch-07: use a private IP addr for example node IP
As is the chapter uses 144.76.235.20 which has a PTR DNS record to
rene-pickhardt.de. Rather than include possibly private information
relating to the authors of the book, we opt to use an IP address from a
known private range. This doesn't take away from the example, but lets
us include less personally identifying information in the book.
2021-07-11 18:20:03 -07:00
Andreas M. Antonopoulos
2446acb4d2 ch9 typo 2021-07-11 16:18:31 +02:00
Andreas M. Antonopoulos
d07ea2e950 fixes 2021-07-11 16:18:00 +02:00
Andreas M. Antonopoulos
c9d8beb9be Merge remote-tracking branch 'github/develop' into develop 2021-07-11 16:11:58 +02:00
Andreas M. Antonopoulos
1a84cd0a64 milli-satoshi TIP 2021-07-11 16:11:49 +02:00
Andreas M. Antonopoulos
f2e1edf6d0
Merge pull request #739 from pamelawjd/patch-3
Update 08_routing_htlcs.asciidoc
2021-07-11 08:56:30 -05:00
Andreas M. Antonopoulos
38b457031d
Merge pull request #738 from pamelawjd/patch-2
Update 07_payment_channels.asciidoc
2021-07-11 08:56:07 -05:00
Pamela Morgan
ecd282a626
Update 08_routing_htlcs.asciidoc
small grammatical and typo changes
2021-07-11 15:00:19 +02:00
Pamela Morgan
8da2d02a9b
Update 07_payment_channels.asciidoc
Very small changes to grammar and wording
2021-07-11 14:12:01 +02:00
Andreas M. Antonopoulos
2325f23d10 Cleanup: Moving all unfinished chapters into contrib 2021-07-10 14:06:19 +02:00
Andreas M. Antonopoulos
279379563c
Merge pull request #650 from Roasbeef/framing-chapter
wire_protocol+upgrades: initial version of chapter
2021-07-10 06:36:18 -05:00
Andreas M. Antonopoulos
e5b290ad13
Merge pull request #701 from Roasbeef/brontide-chapter
ch-brontide: add initial draft of the brontide chapter
2021-07-10 06:36:12 -05:00
Andreas M. Antonopoulos
4e6cca4da7
Merge pull request #702 from Roasbeef/payment-requests
ch-invoices: add initial chapter on BOLT 11 invoices
2021-07-10 06:35:54 -05:00
Andreas M. Antonopoulos
e59b9349d9
Merge pull request #727 from aantonop/channel_operations_release
WIP: Channel Operation chapter release prep
2021-07-09 04:18:24 -05:00
Andreas M. Antonopoulos
6db9fcfed9 intro detail and architecture highlight 2021-07-09 11:17:16 +02:00
Andreas M. Antonopoulos
4242fb509e Rename chapter 2021-07-06 17:09:24 +02:00
Andreas M. Antonopoulos
9ce5db9d5c Updated README 2021-07-06 17:02:57 +02:00
Andreas M. Antonopoulos
2ba679fd08 rest of channel operations 2021-07-06 16:57:36 +02:00
Andreas M. Antonopoulos
693bf0f42a intro to channel operations 2021-06-29 10:55:15 -04:00
Andreas M. Antonopoulos
17fa6860c8 Merge remote-tracking branch 'github/develop' into develop 2021-06-29 10:29:32 -04:00
Andreas M. Antonopoulos
f8f2d455a8
Merge pull request #713 from aantonop/payment_channels_release
WIP: Payment Channels Chapter (Channel Construction rewrite)
2021-06-29 09:29:08 -05:00
Andreas M. Antonopoulos
7adcad07ef Added TIP on relative timelocks 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
2be166fc46 edits and spelling 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
9456b2358a edits 2021-06-29 10:28:45 -04:00
Rene Pickhardt
40680eb902 added a few more notes to the second have of the chapter 2021-06-29 10:28:45 -04:00
Rene Pickhardt
b15d093ebb added a few fixes and additional info for the funding flow
I think it might be best to stick to most of them
2021-06-29 10:28:45 -04:00
Rene Pickhardt
374113103c few additions to up until constructing the channel
Most additions make the text more complex but sometimes it seemed the additional detail was preferable?
2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
1a4a4bf708 cleanup and reorg of chapters, README updated 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
77671327b5 channel closing and conclusion 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
fa20549232 commitment message flow, revocation and penalty 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
6fa2564b94 asymmetric, delayed, revocable commitments 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
85fc22d744 competing commitment transactions, intro to revocation 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
2bc5693813 funding completed 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
754a5d0153 funidng, refund, chaining, malleability, segwit 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
50848a30ab open_channel, accept_channel, multisig 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
a9eda9275e Message flow and BOLT2 2021-06-29 10:28:45 -04:00
Andreas M. Antonopoulos
a2fbcefb5e Message, connection, node ID 2021-06-29 10:28:45 -04:00