subscribe

package
v0.18.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL