rpcserver: add REST workarounds, implement new RPC calls

This commit adds a few workarounds in order to concurrently support the
REST proxy as well as the regular gRPC interface. Additionally,
concrete support for the following RPC calls has been added:
GetTransactions, SubscriptTransactions, SubscribeInvoices, and
NewWitnessAddress.
This commit is contained in:
Olaoluwa Osuntokun
2016-10-15 14:41:11 -07:00
parent 566cd86a1d
commit 7b953c9c61
5 changed files with 145 additions and 8 deletions

View File

@ -134,6 +134,7 @@ out:
midStageOutputs <- immatureUtxo
}()
}
// TODO(roasbeef): rename to preschool and kindergarden
case midUtxo := <-midStageOutputs:
// The transaction creating the output has been
// created, so we move it from early stage to