Skip to content

Commit 81f8b02

Browse files
committed
Add note referencing RFCs
1 parent 9debd2b commit 81f8b02

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/internals.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
This document explains important points of `c-sphincs-all-in-one-lock` internals.
44

5+
## Combination of different specs
6+
7+
Note that the `c-sphincs-all-in-one-lock`, or in fact this repository, combines 3 different piece to build a CKB lock script:
8+
9+
* Quantum resistant signature algorithm powered by [SPHINCS+](https://github.com/sphincs/sphincsplus).
10+
* The new `CKB_TX_MESSAGE_ALL` message signing algorithm described in [this RFC](https://github.com/nervosnetwork/rfcs/pull/446).
11+
* A new multisig format described in [this RFC](https://github.com/nervosnetwork/rfcs/pull/448).
12+
13+
So if you are puzzled by one particular point in the implementation, chances are one of the RFCs could give you a little hint.
14+
515
## Umbrella of Scripts
616

717
The reference implementation of [SPHINCS+](https://github.com/sphincs/sphincsplus) has one quirk: it sets the parameter set of SPHINCS+ at build time, not at runtime. This means when we compile a binary using the reference implementation, only one parameter set will be available to use.

0 commit comments

Comments
 (0)