Chris Buckland
da5e0d37af
Reverted heading formats
2019-08-09 15:00:03 +01:00
Chris Buckland
ec07434863
Moved examples to their own section
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
a82c74b7c6
Minor changes
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
421c1b4973
Updates README and fixes typos
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
da806f5fbf
Adds HTTPException to reasons why pisad cannot connect to bitcoind
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
bed25c03e3
Adds stdout display when creating dummy appointments
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
81ebc161c9
Fixs typos
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
9cf0c9786d
Adds get_block_count endpoint and generate_dummy_block. Updates README accordingly
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
d24368e505
Modifies server default to btc.pisa.watch
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
86aa517059
Improves documentation
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
00d077e475
standardizes prints/log prints and fixes log file being created even if debug was not set
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
5fe9fbf096
Pretty-JSON the get_appointment call
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
75545566fe
Changes the default pisa-server IP address to the elastic aws ip address
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
297d94bfb5
Adds missing requirement and update pip command
2019-08-09 15:00:03 +01:00
Sergi Delgado Segura
9588951182
Fixes typo and link
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
32bece41b2
Improves documentation
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
d1c5b3dd6a
Moves cli conf options to __init__.py so it can be run standalone
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
88ae640417
Add dependencies
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
718fb391a8
Adds example appointment file and impreves readme
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
1b2581be65
Adds README to cli
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
00a2137d5b
Improves pisa-cli
...
Big refactor of the cli, includes proper help messages and get_appointment command. Also creates a separate folder for the cli (apps can be separated by folders).
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
2d77919af4
Updates get_appointment status messages and small changes
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
74ecf0ab54
Add temporary monitoring tools for pisa
...
Add endpoint and logic so appointment can be queried to pisa. A better implementation based on persistent storage (i.e. DB) should replace it in the future
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
44d1647b06
Adds JSONRPC exceptions to can_connect
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
b29d417a62
Improves cli commands and usage message
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
c1b2dee1e1
Changes default port
...
Current default port is 9814, which represents the white chess tower in ASCII
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
1028a94f64
Updates inspector checks related to dispute_delta.
...
dispute_delta and start_time/end_time are two different kind of time constrains, they were mixed up.
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
5a1d7911f3
Adds support for command line api host and port.
...
Defaults to __init__ parameters if missing
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
0c1ce056eb
Adds sanity checks to make sure pisad and bitcoind are configured in the same way
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
13f21d64e8
fixes log record + todos
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
7aeca49db2
simplifies the handle_reorg logic
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
47939a9e3b
Adds todo
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
8561288726
adds requests to requirements
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
a1d2f440d3
updates gitignore
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
b5009fcf9a
Fixes typo: cyphers -> ciphers
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
7b511144c8
addapts tests to work with the new locator type
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
9a3628a8da
Addaps pisa to work with the new key/encryption. Also fixes some discovered bugs
...
The number of confirmations stopped counting from 6+ due to a legacy part of the code. The JSONRPC error format changed with the new version and was not updated.
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
dd3dee5b7a
Replaces KDF
...
Uses H(txid) for locator and H(txid|txid) for master_key now
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
c7ba4fb423
Fixes appointment json fields
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
b4fca13fd5
Defines tests for the inspector
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
ea0fc31398
Defines a proper inspector
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
a722065cdd
Moves some of the params to the sample conf file
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
db263cf9b9
Some small refactors
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
531f2104c9
refactors rpc_errors and defines internal errors
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
72def85ec9
Fixes typo
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
5701a5bda5
Further tests and fixes bugs
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
e417ed0e8f
Adds custom authproxy from bitcoin rpc from Bitcoin Core to deal with broken pipes
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
9aea751307
Fixes several bugs related with the encrypted blob
...
Uses a proper KDF to extend the LSB of the txid (HKDF). Standardizes the representation of the keys / hashes in both sides (encrypt/decrypt deals with bytes now instead of string). Adds further logging.
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
552a3622ac
Removes old decrypt placeholder
2019-08-09 15:00:02 +01:00
Sergi Delgado Segura
8bac78cf41
Update logging levels
2019-08-09 15:00:02 +01:00