diff options
author | zelig <viktor.tron@gmail.com> | 2014-12-15 02:29:05 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-12-15 04:30:56 +0800 |
commit | d9b16c1197f607a52ad62c71425b690bee973c3f (patch) | |
tree | a49f437ad21c316889107544bb4e97b1a3c3b476 /cmd/ethereum/main.go | |
parent | ae7c1e3e55610cc28bb4f79ede5660dd89c019c5 (diff) | |
download | dexon-d9b16c1197f607a52ad62c71425b690bee973c3f.tar dexon-d9b16c1197f607a52ad62c71425b690bee973c3f.tar.gz dexon-d9b16c1197f607a52ad62c71425b690bee973c3f.tar.bz2 dexon-d9b16c1197f607a52ad62c71425b690bee973c3f.tar.lz dexon-d9b16c1197f607a52ad62c71425b690bee973c3f.tar.xz dexon-d9b16c1197f607a52ad62c71425b690bee973c3f.tar.zst dexon-d9b16c1197f607a52ad62c71425b690bee973c3f.zip |
new cli options
- nat UPNP|PMP
- gateway for PMP NAT
- obsolete usepnp
- add pubkey to client identity
Diffstat (limited to 'cmd/ethereum/main.go')
-rw-r--r-- | cmd/ethereum/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go index 43551fb3a..4f87ef17b 100644 --- a/cmd/ethereum/main.go +++ b/cmd/ethereum/main.go @@ -69,9 +69,9 @@ func main() { // create, import, export keys utils.KeyTasks(keyManager, KeyRing, GenAddr, SecretFile, ExportDir, NonInteractive) - clientIdentity := utils.NewClientIdentity(ClientIdentifier, Version, Identifier) + clientIdentity := utils.NewClientIdentity(ClientIdentifier, Version, Identifier, string(keyManager.PublicKey())) - ethereum := utils.NewEthereum(db, clientIdentity, keyManager, UseUPnP, OutboundPort, MaxPeer) + ethereum := utils.NewEthereum(db, clientIdentity, keyManager, utils.NatType(NatType, PMPGateway), OutboundPort, MaxPeer) if Dump { var block *types.Block |