Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(ctx context.Context, conn *grpc.ClientConn, db *sqlx.DB, vectorUrl string, nodeId int, broadcaster broadcast.BroadcastServer, serviceEventChannel chan commons.ServiceEvent, htlcEventChannel chan commons.HtlcEvent, forwardEventChannel chan commons.ForwardEvent, channelEventChannel chan commons.ChannelEvent, nodeGraphEventChannel chan commons.NodeGraphEvent, channelGraphEventChannel chan commons.ChannelGraphEvent, invoiceEventChannel chan commons.InvoiceEvent, paymentEventChannel chan commons.PaymentEvent, transactionEventChannel chan commons.TransactionEvent, peerEventChannel chan commons.PeerEvent, blockEventChannel chan commons.BlockEvent, lightningRequestChannel chan interface{}) error
Start runs the background server. It subscribes to events, gossip and fetches data as needed and stores it in the database. It is meant to run as a background task / daemon and is the bases for all of Torqs data collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.