From fae9a6a06fe9e0d469c8a38a5ab46566e0e3c28d Mon Sep 17 00:00:00 2001 From: Candle <50766841+CandleHater@users.noreply.github.com> Date: Tue, 21 Sep 2021 14:20:52 +0200 Subject: [PATCH 1/3] Improves Proof of Work entry Added shorting (PoW) and tuned the "more information" sentence. --- glossary.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glossary.asciidoc b/glossary.asciidoc index 223ee52..c3abe28 100644 --- a/glossary.asciidoc +++ b/glossary.asciidoc @@ -383,10 +383,10 @@ preimage:: In particular, when using SHA-256, it should be stated that each element has an infinite number of preimages. However, it is still believed to be computationally hard to find such a preimage. -proof of work:: +Proof of Work (PoW):: A piece of data that requires significant computation to find. In Bitcoin, miners must find a numeric solution to the SHA256 algorithm that meets a network-wide target, called the difficulty target. - See _bitcoin mining_. + See _Bitcoin mining_ for more information. Relative Timelock:: Relative Timelock is a type of timelock which allows an input to specify the earliest time the input can be added to a block. The time is relative and is based on when the output referenced by that input was included in a block. Such a feature is jointly achieved by nSequence field and CheckSequenceVerify opcode, which was introduced by BIP68/112/113. From 58dfa9f062f89e31f9ced93d05235483ac7cdc73 Mon Sep 17 00:00:00 2001 From: katesalazar Date: Wed, 29 Sep 2021 23:01:22 +0200 Subject: [PATCH 2/3] Make AsciiDoc linguist-detectable Before this change, project gets detected as: Shell 32.9% HTML 21.1% Dockerfile 16.7% Python 14.4% Makefile 6.9% XSLT 4.6% CSS 3.4% After this change, project gets detected as: AsciiDoc 95.8% Shell 1.4% HTML 0.9% Dockerfile 0.7% Python 0.6% Makefile 0.3% Other 0.3% This change was added for a cosmetic effect on GitHub. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..09e2d14 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.asciidoc linguist-detectable From 17ecc37c917f379880bae268144efe46b9b6f5fb Mon Sep 17 00:00:00 2001 From: Wim van der Ham Date: Sun, 3 Oct 2021 09:41:12 +0200 Subject: [PATCH 3/3] Remove double line in table --- 13_wire_protocol.asciidoc | 1 - 1 file changed, 1 deletion(-) diff --git a/13_wire_protocol.asciidoc b/13_wire_protocol.asciidoc index 5998d51..2ee00e3 100644 --- a/13_wire_protocol.asciidoc +++ b/13_wire_protocol.asciidoc @@ -90,7 +90,6 @@ high-level routine used to encode/decode the type. | `short_chan_id` | An unsigned 64-bit integer (`uint64`) | Composed of the block height (24 bits), transaction index (24 bits), and output index (16 bits) packed into 8 bytes. | `milli_satoshi` | An unsigned 64-bit integer (`uint64`) | Represents 1000th of a satoshi. | `satoshi` | An unsigned 64-bit integer (`uint64`) | The based unit of bitcoin. -| `satoshi` | An unsigned 64-bit integer (`uint64`) | The based unit of bitcoin. | `pubkey` | An secp256k1 public key encoded in _compressed_ format, occupying 33 bytes. | Occupies a fixed 33-byte length on the wire. | `sig` | An ECDSA signature of the secp256k1 Elliptic Curve. | Encoded as a _fixed_ 64-byte byte slice, packed as `R \|\| S` | `uint8` | An 8-bit integer. |