Sergi Delgado Segura
ba5aa9f651
Updates builder with new minimal in-memory data from #83
...
- The builder was never modified when the in-memory data was reduced, so it was still trying to build data based on the past approach.
- Renames create_block_queue to poplate_block_queue and repurposes the method
When creating a block queue, a new Queue was created and populated. That was breaking the link between the Watcher/Responder and the ChainMonitor since the Queue is defined beforehand.
2020-01-24 13:21:36 +01:00
Sergi Delgado Segura
5c585a7a02
Refactors code to use appointment from common based on f4a1e34e2f4d75226c7e313b83ff5ae06c8c89ca
2019-12-17 16:22:23 +01:00
Sergi Delgado Segura
e2ca226b11
Last formatting details troughout the codebase
2019-12-13 18:13:29 +01:00
Sergi Delgado Segura
d881706eb3
Refactors the codebase to match the new naming from 793d563b8c053136dd5f936b0ef0cd88af215b06 and 3046eae38ee3f34857c96e6b9d43e645f7d2de2d
2019-12-13 18:13:29 +01:00
Sergi Delgado Segura
df5dcbdfe9
Renames dispute_delta to to_self_delay and justice tx to penalty tx
...
Uses the naming convention followed by LN implementations and BOLTs
2019-12-11 12:45:05 +01:00
Sergi Delgado Segura
f287bdf073
Fixes returns
2019-12-10 12:02:25 +01:00
Sergi Delgado Segura
899b60c083
Adds Builder docstrings
2019-12-10 11:33:01 +01:00
Sergi Delgado Segura
20f296c9d4
Reformats code to match code guidelines
2019-11-07 15:47:35 +00:00
Sergi Delgado Segura
e95961ae6a
Adds a method to initialize queues from missed blocks
2019-10-30 12:22:13 -07:00
Sergi Delgado Segura
15a66751b2
Additional bug-fixing
2019-10-28 14:49:53 -07:00
Sergi Delgado Segura
43b749f417
Create the Builder
...
The Builder's puerpose is to build data structures from the data obtained from the DB for both the Watcher and the Responder
2019-10-28 14:40:44 -07:00