-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy pathTODO
More file actions
40 lines (31 loc) · 1.63 KB
/
TODO
File metadata and controls
40 lines (31 loc) · 1.63 KB
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
34
35
36
37
38
39
40
SHORT-TERM
- create Address object that covers all addresses and can convert from one to another
- taproot's op_addchecksig simply added
. other tapscript changes?
. think: how to differentiate tapscript in code? (right now addchecksig can be used in any script)
Transaction-related
- think how to add/remove existing inputs/outputs to a Tx object
. will need to add add_input/output (same as append)
. allow to update an input/output from any index
. allow to remove an input/output altogether
. influences set_witness (add_input should add the empty witness immediately?)
SEGWIT-related
- segwit v0 and v1 address object instantiates from address, witness program and script
. are all used? test?
- add annex to signature hash (easy, just add in bytes or hex in the method and include)
CLEAN UP
- segwit examples and get_transaction_segwit_digest
TYPING
- use stubs for mypy to get type hints for external libraries that don't support hints (for now using # type: ignore for external libs)
- python.analysis.useLibraryCodeForTypes is set to false for pyright to not auto-deduce types for external libraries that do not use hint stubs / mypy)
IMPROVE
- test proxy object extensively, students reports it fails sometimes
- make a new proxy object from scratch (test with at least 2/3 of bitcoin core RPC)
DOC-related
- create jupyter notebooks?
tests-related
- improve test structure - similar to Bitcoin core
OTHER
- create script: clean-less-than-sats 100000 bc1q86gsg4t32...
- maybe make RBF the default from now on (like Bitcoin Core)
. will need to change all the tests, unless I add minor hack that uses RBF by default only for taproot