Commit Graph

14 Commits

Author SHA1 Message Date
Sergi Delgado Segura
df3531dd3e plugin - several improvements in the main class
- Moves from *args to required params after 5f33d63cb6
- tower.endpoint -> tower.netaddr
- Adds basic exception handling logic in add_appointemnt
- Stores appointment data in the database (locator: signature) and keeps summary on memory
2020-04-23 12:49:26 +02:00
Sergi Delgado Segura
d86112d86e plugin - endpoint -> netaddr in TowerInfo and adds get_summary 2020-04-23 12:44:25 +02:00
Sergi Delgado Segura
5f33d63cb6 plugin - simplifies argparser after https://github.com/ElementsProject/lightning/pull/3640 2020-04-23 12:43:16 +02:00
Sergi Delgado Segura
7b6d4a0c9c plugin - specifies cryptography library version 2020-04-23 12:40:24 +02:00
Sergi Delgado Segura
4e1c3e83cf Removes start/end_time from plugin 2020-04-20 17:58:40 +02:00
Sergi Delgado Segura
1ec69e8703 Stops plugin if towers db cannot be accessed 2020-04-20 17:30:17 +02:00
Sergi Delgado Segura
96d98a3546 compressed_pk -> user_id and logs id on bootstrap 2020-04-20 17:30:17 +02:00
Sergi Delgado Segura
a1a87ba9da Can't -> cannot 2020-04-20 17:30:17 +02:00
Sergi Delgado Segura
2242e780dd Fixes log level and register command 2020-04-20 17:30:16 +02:00
Sergi Delgado Segura
6b025a2d9c Improves add_appointment method. Has some pending fixmes
- Start and end time have to be dealt with (changes required on the tower side)
- Sends appointments to every register tower. We may want to manage this better
2020-04-20 17:30:16 +02:00
Sergi Delgado Segura
b4ea005f55 Adds parse methods for add_appointment 2020-04-20 17:30:16 +02:00
Sergi Delgado Segura
80e72f089d Splits exceptions in common + client 2020-04-20 17:30:15 +02:00
Sergi Delgado Segura
b3841c1da6 Updates defaults names 2020-04-20 17:30:15 +02:00
Sergi Delgado Segura
ed8ff228d8 First commands with basic structure.
- Moves DBManager to common.
2020-04-20 17:30:15 +02:00