Salvatore Ingala
dee93e5c62
Moved StructuredMessage and Logger to separate file; refactored pisa-cli logging using new format
2019-10-10 09:59:11 +07:00
Salvatore Ingala
c524319027
Several fixes and improvements
2019-10-10 09:59:11 +07:00
Salvatore Ingala
bae9b6b913
Added Logger class; refactored logging accordingly
2019-10-10 09:59:10 +07:00
Salvatore Ingala
2a5dd48950
PEP8 linting
2019-10-10 09:58:27 +07:00
Salvatore Ingala
ed0cb4f632
Changed log format to JSON; fixed missing return value in get_potential_matches
2019-10-10 09:58:27 +07:00
Sergi Delgado Segura
b69ffdc0aa
Adds some BlockProcessor unit tests.
...
The three last methods are missing, since they seem not to belong there (check #36 )
2019-10-09 17:34:32 +01:00
Sergi Delgado Segura
e81ccd39a1
Adds API unit tests and modifies bitcoin_sim to be fixture compatible
...
- Adds unit tests for API
- Updates API to let BlockProcessor deal with block block related JSON-RPC
- Fixes BlockProcessor get_potential_matches return
- Makes bitcoin_sim runnable via function (instead of a main runnable script) to work with pytests fixture
- <3 Fixture
2019-10-08 18:55:27 +01:00
Sergi Delgado Segura
88532f7345
Changes derypt key input type and return
...
The input types for Blob.encrypt and EncryptedBlob.decrypt were not consistent. The former was in hex whereas the later was in bytes. Format the later in hex for consistency.
2019-10-07 16:47:54 +01:00
Sergi Delgado Segura
4be506412e
Adds Inspector unittests. Fixes some related bugs.
2019-10-07 15:19:34 +01:00
Sergi Delgado Segura
3ed9ccd466
Adds additional functionality that will be needed when deploying data persistence
2019-10-04 13:50:43 +01:00
Sergi Delgado Segura
5ba6fcb9ef
Improves modularity of the code
...
Adds cleaner and block processor to increase the modularity and reuse of the code
2019-10-03 11:49:24 +01:00