PROJECT: trb


================================================================================

ID: 1
SUBJECT: Wallet balance incorrect after malleated tx
TYPE: D
ANTECEDENT(s):
NOTES:
It has been seen when a possible Low-S tx gets malleated; the wallet
re-adds coins or change from the transaction to the wallet balance.
Further investigation also needed.

================================================================================

ID: 3
SUBJECT: Further investigate a solution for mem leak/fragmentation
TYPE: I
ANTECEDENT(s):
NOTES:
An OOM error occurs from mempool tx's that are never deallocated. A well
defined and researched plan need to emerge from this investigation.

================================================================================

ID: 4
SUBJECT: Memory Fragmentation / Memory Leak
TYPE: D
ANTECEDENT(s): 3
NOTES:
Defect ticket denoting the OOM error.

================================================================================

ID: 5
SUBJECT: New memory allocator
TYPE: F
ANTECEDENT(s): 3
NOTES:
A ticket to denote a possible solution to ticket 4. The investigative
result of ticket 3 should outline the chosen solution.

================================================================================

ID: 6
SUBJECT: Investigate and document what is required for BitcoinFS
TYPE: I
ANTECEDENT(s):
NOTES:
A possible solution for replacing BDB: BitcoinFS. This ticket is a call
for investigation to implementing a block filesystem to store the
blockchain.

================================================================================

ID: 7
SUBJECT: BitcoinFS
TYPE: F
ANTECEDENT(s): 6
NOTES:
Implement the proposed BitcoinFS.

================================================================================

ID: 8
SUBJECT: Remove BDB and integrate BitcoinFS
TYPE: C
ANTECEDENT(s): 6,7,33
NOTES:
Change ticket to integrate the BitcoinFS, once implemented.

================================================================================

ID: 9
SUBJECT: Investigate replacing RPC interface with Ada and amt. of work
TYPE: I
ANTECEDENT(s):
NOTES:
Investiate ticket for replacing the legacy RPC interface with an interface
written in Ada.

================================================================================

ID: 10
SUBJECT: Implement RPC interface with Ada
TYPE: F
ANTECEDENT(s): 9
NOTES:
Implement an RPC interface in Ada.

================================================================================

ID: 11
SUBJECT: Replace RPC interface with Ada implementation
TYPE: C
ANTECEDENT(s): 9,10
NOTES:

================================================================================

ID: 13
SUBJECT: Document the bitcoin protocol
TYPE: X
ANTECEDENT(s):
NOTES:

================================================================================

ID: 17
SUBJECT: Documentation of existing magic numbers used in bitcoin
TYPE: X
ANTECEDENT(s):
NOTES:
There are already some notations on magic numbers here:
http://trilema.com/2016/the-sad-state-of-bitcoin-code/

================================================================================

ID: 18
SUBJECT: Investigate changes to implement MPs requirements
TYPE: I
ANTECEDENT(s):
NOTES:
http://trilema.com/2016/the-necessary-prerequisite-for-any-change-to-the-bitcoin-protocol/
http://danielpbarron.com/2016/the-new-bitcoin/

================================================================================

ID: 19
SUBJECT: Replace SHA256 with SHA-3
TYPE: C
ANTECEDENT(s): 18
NOTES:

================================================================================

ID: 20
SUBJECT: Crypto libraries/BigNum written in Ada
TYPE: F
ANTECEDENT(s):
NOTES:

================================================================================

ID: 21
SUBJECT: Remove OpenSSL based crypto libraries
TYPE: C
ANTECEDENT(s): 18
NOTES:

================================================================================

ID: 22
SUBJECT: CVE-2012-2459
TYPE: D
ANTECEDENT(s):
NOTES:

================================================================================

ID: 23
SUBJECT: Logging cleanup
TYPE: F
ANTECEDENT(s):
NOTES:

================================================================================

ID: 24
SUBJECT: Makefile changes to support Ada compiliation
TYPE: F
ANTECEDENT(s):
NOTES:

================================================================================

ID: 25
SUBJECT: Formally and document proposed mempool changes
TYPE: I
ANTECEDENT(s):
NOTES:

================================================================================

ID: 26
SUBJECT: Mempool changes implemented
TYPE: C
ANTECEDENT(s): 25
NOTES:

================================================================================

ID: 27
SUBJECT: Extant bitcoin
TYPE: S
ANTECEDENT(s): 18,19
NOTES:

================================================================================

ID: 28
SUBJECT: Ideal bitcoin
TYPE: S
ANTECEDENT(s): 3,4,5,18,19,20,21,25,26
NOTES:

================================================================================

ID: 29
SUBJECT: Redesign Wallet
TYPE: F
ANTECEDENT(s): 30
NOTES:
The original Reference Implementation wallet needs a redesign.
http://trilema.com/2016/the-ideal-bitcoin-wallet/
http://trilema.com/2016/how-to-cut-the-wallet/

================================================================================

ID: 30
SUBJECT: Investigate a new design for the Wallet
TYPE: I
ANTECEDENT(s):
NOTES:
An investigation must be conducted to create a specification for a
reimplemented wallet. The outcome of this will drive ticket 29.

================================================================================

ID: 31
SUBJECT: Raw Transactions
TYPE: I
ANTECEDENT(s):
NOTES:
We want the ability to send a raw transaction. Investigate whether or not
the best way to add this; weather as an RPC call (written in Ada?) or
through some other means. There should also be some follow on tickets to
this to implement and integrate this task.

================================================================================

ID: 33
SUBJECT: Possible DB Replacement with UNIX Filesystem
TYPE: F
ANTECEDENT(s):
NOTES:
http://btcbase.org/log/2016-11-01#1561093

================================================================================

ID: 34
SUBJECT: Configure Checkpoints by Configuration File
TYPE: F
ANTECEDENT(s):
NOTES:
Allow for a user to set a given checkpoint within a configuration file.
See discussion: btcbase.org/log/2016-12-20#1586436

================================================================================

ID: 35
SUBJECT: Investigate blackhole
TYPE: I
ANTECEDENT(s):
NOTES:
Investigate what might be occuring with the so-called black-hole, described
here: btcbase.org/log/2016-12-20#1586635

================================================================================

ID: 36
SUBJECT: Move the deps folder
TYPE: C
ANTECEDENT(s):
NOTES:
Move trb deps directory which contains frozen artifacts outside of the
bitcoin project directory. This will avoid unwanted removal of artifacts
upon a `make clean`.