Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogPrefix = "DMLOG" LogBlock = "BLOCK" )
View Source
const CONFIRMS uint64 = 20
Variables ¶
This section is empty.
Functions ¶
func BlockDecoder ¶
Types ¶
type ConsoleReader ¶
type ConsoleReader struct {
// contains filtered or unexported fields
}
ConsoleReader is what reads the `geth` output directly. It builds up some LogEntry objects. See `LogReader to read those entries .
func NewConsoleReader ¶
func NewConsoleReader(lines chan string) (*ConsoleReader, error)
func (*ConsoleReader) Close ¶
func (r *ConsoleReader) Close()
func (*ConsoleReader) ProcessData ¶
func (r *ConsoleReader) ProcessData(reader io.Reader) error
Click to show internal directories.
Click to hide internal directories.