Ethereum Private Network Log and Data

This section describes how to check Ethereum private network log file and data files.

With the private Ethereum private network running, let's check the log file and data files of the network.

1. Check log file first:

C:> type geth-personal.log

Maximum peer count                       ETH=25 LES=0 total=25
Starting peer-to-peer node               
   instance=Geth/v1.8.1-stable-1e67410e/windows-386/go1.9.2
Allocated cache and file handles         
   database=C:\\herong\\Ethereum\\personal\\geth\\chaindata 
   cache=768 handles=1024
Writing default main-net genesis block 
Persisted trie from memory database      
   nodes=12356 size=2.34mB time=51ms gcnodes=0 gcsize=0.00B gctime=0s 
   livenodes=1 livesize=0.00B
Initialised chain configuration          
   config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 
   DAOSupport: true EIP150: 2463000 EIP155: 2675000 
   EIP158: 2675000 Byzantium: 4370000 Engine: ethash}"
Disk storage enabled for ethash caches   
   dir=C:\\herong\\Ethereum\\personal\\geth\\ethash count=3
Disk storage enabled for ethash DAGs     
   dir=C:\\Users\\herong\\AppData\\Ethash           count=2
Initialising Ethereum protocol           
   versions="[63 62]" network=314
Loaded most recent local header          
   number=0 hash=d4e567…cb8fa3 td=17179869184
Loaded most recent local full block      
   number=0 hash=d4e567…cb8fa3 td=17179869184
Loaded most recent local fast block      
   number=0 hash=d4e567…cb8fa3 td=17179869184
Regenerated local transaction journal    transactions=0 accounts=0
Starting P2P networking 
UDP listener up                          
   self=enode://8acdf14c1b029431b8aedfec1a92f497fb3c807f48b29ba49f195...
RLPx listener up                         
   self=enode://8acdf14c1b029431b8aedfec1a92f497fb3c807f48b29ba49f195...
IPC endpoint opened                      url=\\\\.\\pipe\\geth.ipc

Everything looks good. One block is fully loaded. This should be root block, also called genesis block.

2. Check blockchain data files:

C:\>dir \herong\Ethereum\personal /s

 Directory of C:\herong\Ethereum\personal
               0 File(s)              0 bytes

 Directory of C:\herong\Ethereum\personal\geth
               0 LOCK
              64 nodekey
               0 transactions.rlp
               3 File(s)             64 bytes

 Directory of C:\herong\Ethereum\personal\geth\chaindata
       2,505,678 000001.log
              16 CURRENT
               0 LOCK
             352 LOG
              54 MANIFEST-000000
               5 File(s)      2,506,100 bytes

 Directory of C:\herong\Ethereum\personal\geth\nodes
          24,785 000001.log
              16 CURRENT
               0 LOCK
             351 LOG
              54 MANIFEST-000000
               5 File(s)         25,206 bytes

 Directory of C:\herong\Ethereum\personal\keystore
               0 File(s)              0 bytes

Data files look good too!

Table of Contents

 About This Book

 Introduction of Ethereum

 Ethereum Blockchain

 Ethereum Mist Wallet

 geth - Go Ethereum

 Testnet - Ropsten network

Private Ethereum Network

 What Is Ethereum Private Network

 Start a New Ethereum Private Network

Ethereum Private Network Log and Data

 Private Network - Default Genesis Block

 Create Account on Ethereum Network

 What Is Ether Account

 What Is Ethereum Blockchain Miner

 Start "geth" Miner

 "geth" Crashed - Out of Memory

 64-Bit "geth" for Private Ethereum Network

 Private Network with Custom Genesis Block

 Transferring Funds between Ether Accounts

 MetaMask - Browser Based Ethereum Wallet

 Managing Ethereum Account

 Mining Ether with Your Computer

 Archived Tutorials

 References

 Full Version in PDF/EPUB