Salvatore Ingala
df9a1173a5
Minor refactoring of test_watcher; revert change DEFAULT_PISA_API_SERVER to correct value
2019-10-25 15:03:57 +08:00
Salvatore Ingala
bb090897b4
Test that signature is None if appointment is not added
2019-10-24 12:23:56 +08:00
Salvatore Ingala
a19bfa13ff
Separated signing logic of the Watcher in sign_appointment function; added unit test
2019-10-24 12:19:33 +08:00
Salvatore Ingala
cd2f3610f9
Merge branch 'testing' into 13-appointment-signature
2019-10-23 09:19:44 +08:00
Salvatore Ingala
1601f0ca15
Renamed constants and default file names for Pisa's private and public keys
2019-10-22 12:13:12 +08:00
Sergi Delgado Segura
94156a67cc
Adds generate_blocks
2019-10-21 18:12:05 +01:00
Salvatore Ingala
a73b14bf13
Fix signature verificatio in pisa-cli
2019-10-18 15:40:57 +08:00
Salvatore Ingala
414a4638bd
Added signature verification to watcher's add_appointment test
2019-10-18 12:37:06 +08:00
Salvatore Ingala
2881101e36
Fixed missing return value in test
2019-10-18 08:41:44 +08:00
Salvatore Ingala
f4bfd5ef40
Merge branch 'testing' into 13-appointment-signature
2019-10-18 08:32:38 +08:00
Sergi Delgado Segura
6735aac094
Update tests to use bitcoind_sim event-wise
...
Also clean son unused imports
2019-10-17 19:08:34 +01:00
Sergi Delgado Segura
95759793ba
Fixes bitcoin_cli
...
bitcoin_cli as a global variable in the main __init__.py was creating issues related to http.client.CannotSendRequest: Request-sent and connection re-usage. Define a new connection per request.
2019-10-17 17:17:52 +01:00
Salvatore Ingala
db522500c3
Switched to cryptography instead of ecdsa for signatures
2019-10-17 17:02:09 +08:00
Sergi Delgado Segura
3e62cb4b70
Parametrize start and end appointment offsets
...
Also waits an additional for transactions to be cleaned to be safe
2019-10-16 12:42:50 +01:00
Sergi Delgado Segura
b74df42a2b
Runs bitcoin-cli locally
2019-10-14 17:41:09 +01:00
Sergi Delgado Segura
409f8fb5fb
Adds Watcher unit tests
2019-10-14 16:58:31 +01:00