Commit Graph

  • 531523c534 Refactors the API to run using dispatch instead of decorate Sergi Delgado Segura 2019-12-17 17:04:57 +01:00
  • 6129ae9b25 Merge pull request #75 from sr-gi/68-appointment-encoding Sergi Delgado Segura 2019-12-17 16:28:25 +01:00
  • 680de0b7ac Update unit tests to use serialize Sergi Delgado Segura 2019-12-17 15:11:00 +01:00
  • 5c585a7a02 Refactors code to use appointment from common based on f4a1e34e2f4d75226c7e313b83ff5ae06c8c89ca Sergi Delgado Segura 2019-12-17 15:10:30 +01:00
  • a69f1ba28b Moves appointment to common and creates serialize Sergi Delgado Segura 2019-12-17 15:09:49 +01:00
  • 5c01bec89c Merge pull request #73 from sr-gi/fix-encoding Sergi Delgado Segura 2019-12-17 11:37:55 +01:00
  • 46a7fa824f Removes unnecessary encoding when unhexlifying Sergi Delgado Segura 2019-12-17 11:35:28 +01:00
  • af4544b2c0 Merge pull request #72 from sr-gi/logger Sergi Delgado Segura 2019-12-17 10:04:44 +01:00
  • 1184b4648a Fixes logs and removes redundant tailing dots Sergi Delgado Segura 2019-12-16 19:45:30 +01:00
  • a9df67d787 Properly fromats console logs Sergi Delgado Segura 2019-12-16 19:44:50 +01:00
  • 77b191dde2 Moves Logger to common Sergi Delgado Segura 2019-12-16 14:15:30 +01:00
  • 74080bf104 Deletes test file Sergi Delgado Segura 2019-12-16 12:59:52 +01:00
  • b363cc2d94 Adds missing tool tests Sergi Delgado Segura 2019-12-16 12:57:28 +01:00
  • bc72496db9 Dissables missing logs c_logger Sergi Delgado Segura 2019-12-16 12:50:44 +01:00
  • b07b6759ed Adds missing cryptographer tests Sergi Delgado Segura 2019-12-16 12:50:24 +01:00
  • d37b6b6de2 Merge branch 'master' into 46-docstrings Sergi Delgado Segura 2019-12-16 12:02:04 +01:00
  • 399c25044a Merge branch 'simplify' Sergi Delgado Segura 2019-12-16 11:59:05 +01:00
  • a7eb22626e Some fixes based on review comments Sergi Delgado Segura 2019-12-16 11:58:14 +01:00
  • 2575d1c469 Merge branch 'circle-ci' into 46-docstrings Sergi Delgado Segura 2019-12-16 11:42:30 +01:00
  • 9034e6d702 Updates circleci config to match bc250bd814 Sergi Delgado Segura 2019-12-16 11:28:26 +01:00
  • 61663e89d7 Refactors tests folder to separate different modules Sergi Delgado Segura 2019-12-16 11:26:51 +01:00
  • bc250bd814 Gives some default values to sample_conf Sergi Delgado Segura 2019-12-16 11:06:11 +01:00
  • fac0edf0c5 Remove creating keys from config Sergi Delgado Segura 2019-12-16 11:02:17 +01:00
  • 0574898bae Adds circule-ci config + updates requirements Sergi Delgado Segura 2019-12-15 15:14:01 +01:00
  • 2f67ecfa6e Changes sk_path to sk_der in Watcher Sergi Delgado Segura 2019-12-16 10:54:13 +01:00
  • e6fd9f77cf Fixes return types for cryptographer Sergi Delgado Segura 2019-12-16 10:25:33 +01:00
  • 63488cb69e Fixes wrong identation in Watcher Sergi Delgado Segura 2019-12-13 19:44:19 +01:00
  • 83c73d5df4 Docstrings for common package Sergi Delgado Segura 2019-12-13 17:55:50 +01:00
  • e2ca226b11 Last formatting details troughout the codebase Sergi Delgado Segura 2019-12-13 16:05:52 +01:00
  • 008a71da3a Renames matches to breaches to be consistent with the Responder. Also adds docstrings Sergi Delgado Segura 2019-12-13 14:09:50 +01:00
  • d881706eb3 Refactors the codebase to match the new naming from 793d563b8c053136dd5f936b0ef0cd88af215b06 and 3046eae38ee3f34857c96e6b9d43e645f7d2de2d Sergi Delgado Segura 2019-12-12 17:18:44 +01:00
  • 7c1986dfc8 Renames ZMQHandler to ZMQSubscriber Sergi Delgado Segura 2019-12-12 17:17:17 +01:00
  • 91ca9e539f Adds Responder docstrings fixes get_txs_to_rebroadcast and renames some methods Sergi Delgado Segura 2019-12-12 17:09:51 +01:00
  • b53627aa6d tools docstrings Sergi Delgado Segura 2019-12-11 13:12:37 +01:00
  • 2eafb644c3 Adds Logger docstrings Sergi Delgado Segura 2019-12-11 13:00:49 +01:00
  • df5dcbdfe9 Renames dispute_delta to to_self_delay and justice tx to penalty tx Sergi Delgado Segura 2019-12-11 12:45:05 +01:00
  • 6a7cd4d3aa Adds Inspector docstrings. Replaces dispute_delta by to_self_delay Sergi Delgado Segura 2019-12-11 12:41:08 +01:00
  • c17c3af32a DBManager docstrings Sergi Delgado Segura 2019-12-10 20:10:22 +01:00
  • 2cdd78b8e6 Simplifies the Cleaner and adds docstrings Sergi Delgado Segura 2019-12-10 13:31:42 +01:00
  • b0bf653ba4 Carrier docstrings Sergi Delgado Segura 2019-12-10 12:28:01 +01:00
  • f287bdf073 Fixes returns Sergi Delgado Segura 2019-12-10 12:00:40 +01:00
  • 899b60c083 Adds Builder docstrings Sergi Delgado Segura 2019-12-10 11:33:01 +01:00
  • a6a38ff33c BlockProcessor docstrings Sergi Delgado Segura 2019-12-10 10:45:10 +01:00
  • 6e196b25bd Capitalization of returns first char Sergi Delgado Segura 2019-12-10 10:44:52 +01:00
  • 05dad7d38b Further improvements, including references Sergi Delgado Segura 2019-12-09 20:08:05 +01:00
  • 6a5a23a1d6 Fixes format for line breaks Sergi Delgado Segura 2019-12-09 19:23:57 +01:00
  • a8f4bfc1ee Updates gitignore Sergi Delgado Segura 2019-12-09 19:23:38 +01:00
  • add5d262b6 Includes Appointment docstrings and redesigns triggered flag Sergi Delgado Segura 2019-12-09 14:28:00 +01:00
  • 641cc3be4f api docstrings Sergi Delgado Segura 2019-12-09 14:13:57 +01:00
  • dac9f56901 Gets rid of Appointment.serialize() Sergi Delgado Segura 2019-12-09 13:31:06 +01:00
  • 589d24c472 Removes old TODO.md file Sergi Delgado Segura 2019-12-09 10:17:30 +01:00
  • d39056a0cc Refactors signing/verifiying functionality to be part of the Cryptographer Sergi Delgado Segura 2019-12-07 13:22:39 +01:00
  • ae676e6632 Changes key encoding format from PEM to DER Sergi Delgado Segura 2019-12-07 13:22:13 +01:00
  • a8800ac375 Integrates encryption/decryption within the Cryptographer. Close #63 Sergi Delgado Segura 2019-12-06 13:22:14 +01:00
  • 3c95c31bc8 Creates tools shared between client and server side Sergi Delgado Segura 2019-12-06 13:20:58 +01:00
  • 5f7cd7e189 Delete old TODOs Sergi Delgado Segura 2019-12-05 11:34:44 +01:00
  • b4197aa5bb Replaces hardcoded 16/32 for LOCATOR lengths Sergi Delgado Segura 2019-12-05 11:26:58 +01:00
  • bd08b151df Replaces locator with common/constants value Sergi Delgado Segura 2019-12-05 11:03:36 +01:00
  • ac912aea69 Removes unused errors, redefines the ones after those Sergi Delgado Segura 2019-12-05 11:02:46 +01:00
  • babb746dbd Create common package Sergi Delgado Segura 2019-12-05 11:02:17 +01:00
  • f0150ce585 Removes hash/cipher configuration and changes AESGCM128 for CHACHA20POLY1305 Sergi Delgado Segura 2019-12-04 17:46:07 +01:00
  • c679d59451 Merge branch '59-uncovered-tests' Sergi Delgado Segura 2019-12-04 14:41:24 +01:00
  • 5e9211d562 Some parameters were mixed up when boostraping from DB Sergi Delgado Segura 2019-12-04 13:27:29 +01:00
  • c663fab788 Return non found if the locator does not fit the proper format Sergi Delgado Segura 2019-12-04 13:27:06 +01:00
  • f6e3fadaae Merge pull request #60 from orbitalturtle/client-appointment-sign orbitalturtle 2019-11-28 09:07:20 -05:00
  • 98b3dcae7b Test that server validates signature properly Turtle 2019-11-07 17:52:24 -05:00
  • 7713a3cd47 Server validates appointment signature upon reception Turtle 2019-11-07 17:51:50 -05:00
  • 79d986677d Client signs appointment before sending it to server Turtle 2019-11-07 17:50:58 -05:00
  • d2b7216a96 Addresses requested changes Sergi Delgado Segura 2019-11-22 14:48:38 +00:00
  • 2183c57f53 Updates handle_reorgs and deletes check_tx_in_chain Sergi Delgado Segura 2019-11-20 15:32:04 +00:00
  • 3dad5b7c71 Adds tests for check_tx_in_chain Sergi Delgado Segura 2019-11-20 13:01:56 +00:00
  • 05961f1632 Moves tx_in_chain to Carrier Sergi Delgado Segura 2019-11-20 13:01:27 +00:00
  • f91413ebd8 Properly handles mempool checks Sergi Delgado Segura 2019-11-20 12:59:29 +00:00
  • 287dfeeee3 Adds missing test on BlockProessor Sergi Delgado Segura 2019-11-18 16:39:50 +00:00
  • 764e513ab9 Replaces asserts for Exceptions in simulator Sergi Delgado Segura 2019-11-18 16:39:23 +00:00
  • a1c0eeadbc Add missing EncryptedBlob tests Sergi Delgado Segura 2019-11-18 15:25:15 +00:00
  • 6ff580ed8f Updates test_api according to 1b78060 and add missing cases Sergi Delgado Segura 2019-11-14 17:36:26 +00:00
  • 3a1bf0cc8a Updates API to use DB on get methods Sergi Delgado Segura 2019-11-14 17:35:52 +00:00
  • f33d2d61ac Moves start api to test_api since it was the only place where it's used Sergi Delgado Segura 2019-11-14 15:40:02 +00:00
  • 1d1efc9ccf Adds some missing Responder unit tests Sergi Delgado Segura 2019-11-11 17:57:03 +00:00
  • ca3f6ee1b1 Fixes memory leak bug regarding test db Sergi Delgado Segura 2019-11-14 15:04:55 +00:00
  • f65e2af675 Deletes missed print Sergi Delgado Segura 2019-11-14 15:03:03 +00:00
  • c54d10f92c Fixes Responder Sergi Delgado Segura 2019-11-11 17:50:28 +00:00
  • f81cb04b74 Fixes get_distance_to_tip Sergi Delgado Segura 2019-11-11 14:03:18 +00:00
  • fb7dfd4df8 Add missing Cleaner unit tests Sergi Delgado Segura 2019-11-11 13:28:13 +00:00
  • 3c6f13ef00 Rename delete_completed_appointments and rearange arguments Sergi Delgado Segura 2019-11-11 13:27:57 +00:00
  • a1a1206e0c Adds new Watcher unit tests Sergi Delgado Segura 2019-11-08 18:25:14 +00:00
  • 61a36048de Removes redundant tests Sergi Delgado Segura 2019-11-08 18:23:24 +00:00
  • 4233c9d5cc Refactor get_matches and filter_valid_matches to not be static Sergi Delgado Segura 2019-11-08 18:21:42 +00:00
  • e65b02c473 Adds Cryptographer unit tests Sergi Delgado Segura 2019-11-08 18:20:25 +00:00
  • da61ea9b8e Makes sure that blobs to be decrypred are even-length Sergi Delgado Segura 2019-11-08 18:20:05 +00:00
  • 8a10979db0 Refactors Responder and BlockProcessor Sergi Delgado Segura 2019-11-08 14:23:06 +00:00
  • 20faa04c4c Refactord Watcher and BlockProcessor. Closes #36. Sergi Delgado Segura 2019-11-08 14:16:02 +00:00
  • c08013abd0 Creates Cryptographer. Separates decryptiomn from encrypted_blob Sergi Delgado Segura 2019-11-08 14:06:06 +00:00
  • f4f77fb39a Improves test appointment and add missing tests Sergi Delgado Segura 2019-11-07 18:16:14 +00:00
  • c384bc78c2 Changes code to use bitcoin_cli from pisa/tools Sergi Delgado Segura 2019-11-07 17:36:10 +00:00
  • eb0417858e Adds missing test for EncryptedBlob Sergi Delgado Segura 2019-11-07 16:42:06 +00:00
  • 8b2f0efa2f Moves appointment deletion + db update to the cleaner Sergi Delgado Segura 2019-11-07 16:36:55 +00:00
  • 82f9de1717 Adds missing Watcher test Sergi Delgado Segura 2019-11-07 16:36:27 +00:00
  • 2b1640ea86 Simplifies Inspector using Appointment.from_json() constructor Sergi Delgado Segura 2019-11-07 16:35:55 +00:00