Commit Graph

10 Commits

Author SHA1 Message Date
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