diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-31 19:56:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-31 19:56:05 +0800 |
commit | b1c247231b11f313ca0eedff75ea563926d23f68 (patch) | |
tree | 48b2136cb65e69cb79ffac80f3cc3fdf9dba1cc8 /chain | |
parent | fd9da72536b73351bbcdc1e9dbbbb8c0e4bfb21b (diff) | |
download | go-tangerine-b1c247231b11f313ca0eedff75ea563926d23f68.tar.gz go-tangerine-b1c247231b11f313ca0eedff75ea563926d23f68.tar.zst go-tangerine-b1c247231b11f313ca0eedff75ea563926d23f68.zip |
ethlog => logger
Diffstat (limited to 'chain')
-rw-r--r-- | chain/chain_manager.go | 4 | ||||
-rw-r--r-- | chain/dagger.go | 4 | ||||
-rw-r--r-- | chain/state_manager.go | 4 | ||||
-rw-r--r-- | chain/transaction_pool.go | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/chain/chain_manager.go b/chain/chain_manager.go index 83ae21dcc..8ee7a85cc 100644 --- a/chain/chain_manager.go +++ b/chain/chain_manager.go @@ -5,11 +5,11 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/ethlog" "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/logger" ) -var chainlogger = ethlog.NewLogger("CHAIN") +var chainlogger = logger.NewLogger("CHAIN") type ChainManager struct { Ethereum EthManager diff --git a/chain/dagger.go b/chain/dagger.go index 66fbbcde4..3333e002d 100644 --- a/chain/dagger.go +++ b/chain/dagger.go @@ -7,12 +7,12 @@ import ( "time" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethlog" "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/logger" "github.com/obscuren/sha3" ) -var powlogger = ethlog.NewLogger("POW") +var powlogger = logger.NewLogger("POW") type PoW interface { Search(block *Block, stop <-chan struct{}) []byte diff --git a/chain/state_manager.go b/chain/state_manager.go index 9f7a4a0fd..8266726f5 100644 --- a/chain/state_manager.go +++ b/chain/state_manager.go @@ -10,14 +10,14 @@ import ( "time" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethlog" "github.com/ethereum/go-ethereum/ethstate" "github.com/ethereum/go-ethereum/ethutil" "github.com/ethereum/go-ethereum/ethwire" "github.com/ethereum/go-ethereum/event" + "github.com/ethereum/go-ethereum/logger" ) -var statelogger = ethlog.NewLogger("BLOCK") +var statelogger = logger.NewLogger("BLOCK") type Peer interface { Inbound() bool diff --git a/chain/transaction_pool.go b/chain/transaction_pool.go index 861ebdf00..21d501dfc 100644 --- a/chain/transaction_pool.go +++ b/chain/transaction_pool.go @@ -7,12 +7,12 @@ import ( "math/big" "sync" - "github.com/ethereum/go-ethereum/ethlog" "github.com/ethereum/go-ethereum/ethstate" "github.com/ethereum/go-ethereum/ethwire" + "github.com/ethereum/go-ethereum/logger" ) -var txplogger = ethlog.NewLogger("TXP") +var txplogger = logger.NewLogger("TXP") const txPoolQueueSize = 50 |