loop/loopdb
carla dad103530f
multi: move server proto files to their own directory
Protobuf does not allow naming conflicts for files within the same
process, because all proto messages register themselves in a global
registry.

This is problematic because the server's itests import the client's
looprpc package to make rpc queries to the loopd client, thus importing
duplicate common.proto and server.proto from the client's looprc package
(since they're both in there as well).

This change moves the server's proto files into their own directory so
that they are not imported when we want to use the client's files. We
cannot change the package name for the server, because that would be
a breaking change (the package name is included in URIS). Fortunately,
we have the go_package option which allows us to place generated files
in a different location.
2021-12-13 13:56:40 +02:00
..
codec.go loopdb: store protocol version alongside with swaps 2020-09-09 19:54:01 +02:00
codec_test.go loopdb: store protocol version alongside with swaps 2020-09-09 19:54:01 +02:00
interface.go loopdb: replace swap state enum by state data object 2019-05-20 13:57:09 +02:00
log.go multi: add persistent logger 2019-10-28 17:09:23 +01:00
loop.go loopdb: store protocol version alongside with swaps 2020-09-09 19:54:01 +02:00
loopin.go multi: remove shadowed label variable in loopin swaps 2021-12-09 13:40:34 +02:00
loopout.go multi: store loop out htlc confirmations on disk 2020-08-04 20:28:06 +02:00
meta.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
migration_01_costs.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
migration_02_swap_publication_deadline.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
migration_03_last_hop.go loopdb: migrate loop in channel to last hop 2020-02-17 19:59:05 +01:00
migration_04_updates.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
migration_04_updates_test.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
protocol_version.go multi: move server proto files to their own directory 2021-12-13 13:56:40 +02:00
protocol_version_test.go multi: move server proto files to their own directory 2021-12-13 13:56:40 +02:00
raw_db_test.go loopdb: allow restored databases to contain nil values 2020-06-23 12:46:00 +02:00
store.go loopd+loopdb: add timeout to DB open 2021-04-28 17:16:27 +02:00
store_test.go multi: store loop out htlc confirmations on disk 2020-08-04 20:28:06 +02:00
swapstate.go liquidity: add fee budget to swap suggestions 2020-10-12 13:34:54 +02:00