Commit graph

4 commits

Author SHA1 Message Date
Oliver Gugger
36a13039e5
clientdb: add SidecarsByID 2021-09-29 15:41:34 +02:00
Oliver Gugger
95dcc4e94f
clientdb: remove bid template in terminal state 2021-09-29 15:41:33 +02:00
Olaoluwa Osuntokun
515a6ef476
clientdb: add new method to insert a sidecar ticket along w/ a bid
In this commit, we add a new method that lets us insert a sidecar ticket
as well as a bid in an atomic manner. We'll use this later when offering
this new type of automated ticket.
2021-05-09 19:24:58 -07:00
Oliver Gugger
f84debaeff
sidecar+clientdb: add sidecar storage
Both the trader offering to buy a sidecar channel for another node as
well as the recipient node will need to store the involved sidecar
tickets in their local databases. We add a simple store interface and
its implementation that will be used in future commits.
2021-04-01 22:34:07 +02:00