-
Notifications
You must be signed in to change notification settings - Fork 3
/
TODO
33 lines (23 loc) · 991 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
fix sighash as int vs bin
defp for all unnecessary exports
standardize par / ser syntax
add Message Type prefixes
Tests for messaging symmetry
Tests for everything
figure out how to sort Witnesses for funding tx
standardize use of new_randomness functions so that we can plug in other entropy sources
Do we need to have a contract ID or can Offer ID be enough?
- what about if an accept is never ack'd and another is? Would this confuse coordinators or offerers?
Switch order & Contract ID to 32bytes. Store as hex string or bytes?
write verification into
- Create Offer
- verify Announcement
- Create Accept
- verify Announcement
- verify Offer
- Ack Accept
- Verify Accept & all signatures
- Finalize Contract (handle Ack)
- Verify CET Signatures & funding signatures
DO we need to verify counterparties' scripts? no, as long as they parse to a script, should be good, we dont care if they're unspendable
Test contract_descriptor serialization symmetry