Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions logging/telemetryspec/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,6 @@ type BlockAcceptedEventDetails struct {
VoteBufLen uint64
}

// TopAccountsEvent event
const TopAccountsEvent Event = "TopAccounts"

// TopAccountEventDetails contains details for the BlockAcceptedEvent
type TopAccountEventDetails struct {
Round uint64
OnlineAccounts []map[string]interface{}
OnlineCirculation uint64
OfflineCirculation uint64
}

// AccountRegisteredEvent event
const AccountRegisteredEvent Event = "AccountRegistered"

Expand Down
5 changes: 0 additions & 5 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ func MakeFull(log logging.Logger, rootDir string, cfg config.Local, phonebookAdd
p2pNode.SetPrioScheme(node)
node.net = p2pNode

accountListener := makeTopAccountListener(log)

// load stored data
genesisDir := filepath.Join(rootDir, genesis.ID())
ledgerPathnamePrefix := filepath.Join(genesisDir, config.LedgerFilenamePrefix)
Expand Down Expand Up @@ -232,9 +230,6 @@ func MakeFull(log logging.Logger, rootDir string, cfg config.Local, phonebookAdd
node,
}

if node.config.EnableTopAccountsReporting {
blockListeners = append(blockListeners, &accountListener)
}
node.ledger.RegisterBlockListeners(blockListeners)
txHandlerOpts := data.TxHandlerOpts{
TxPool: node.transactionPool,
Expand Down
212 changes: 0 additions & 212 deletions node/topAccountListener.go

This file was deleted.

Loading