Closed liu212117 closed 4 years ago
Easy transfer 使用的是 passPhrase, 不是privatekey
https://cn.developers.tron.network/reference#%E8%BD%BB%E6%9D%BE%E8%BD%AC%E7%A7%BB
你好 问一下 钱包 有没有 获取一个地址的所有交易记录的api 了???
你好 问一下 钱包 有没有 获取一个地址的所有交易记录的api 了??? 参考一下trongrid的这个API https://cn.developers.tron.network/reference#%E8%8E%B7%E5%8F%96%E8%B4%A6%E6%88%B7%E5%8E%86%E5%8F%B2%E4%BA%A4%E6%98%93%E4%BF%A1%E6%81%AF
能问一下 我搭了多个 超级节点 fullnode 配置应该怎么配置了??? witnesses 我配置了的 ip.list 我也配置了的 还需要 配置什么嘛??? 以前起一个超级节点fullnode可以正常启动
supernode 启动正常
fullnode 日志
10:41:39.298 INFO [main] [app](FullNode.java:43) Full node running.
10:41:39.482 WARN [main] [app](LocalWitnesses.java:107) privateKey is null
10:41:39.620 INFO [main] [app](Args.java:1326) Bind address wasn't set, Punching to identify it...
10:41:39.662 INFO [main] [app](Args.java:1329) UDP local bound to: 172.24.67.182
10:41:39.663 INFO [main] [app](Args.java:1344) External IP wasn't set, using checkip.amazonaws.com to identify it...
10:41:40.286 INFO [main] [app](Args.java:1358) External address identified: 47.108.136.158
10:41:40.290 INFO [main] [app](Args.java:1439)
10:41:40.290 INFO [main] [app](Args.java:1440) ************************ Net config ************************
10:41:40.290 INFO [main] [app](Args.java:1441) P2P version: 98766789
10:41:40.290 INFO [main] [app](Args.java:1442) Bind IP: 172.24.67.182
10:41:40.290 INFO [main] [app](Args.java:1443) External IP: 47.108.136.158
10:41:40.290 INFO [main] [app](Args.java:1444) Listen port: 26666
10:41:40.290 INFO [main] [app](Args.java:1445) Discover enable: true
10:41:40.291 INFO [main] [app](Args.java:1446) Active node size: 0
10:41:40.291 INFO [main] [app](Args.java:1447) Passive node size: 0
10:41:40.291 INFO [main] [app](Args.java:1448) FastForward node size: 0
10:41:40.291 INFO [main] [app](Args.java:1449) Seed node size: 2
10:41:40.291 INFO [main] [app](Args.java:1450) Max connection: 30
10:41:40.291 INFO [main] [app](Args.java:1451) Max connection with same IP: 2
10:41:40.291 INFO [main] [app](Args.java:1452) Solidity threads: 8
10:41:40.291 INFO [main] [app](Args.java:1453) ************************ Backup config ************************
10:41:40.291 INFO [main] [app](Args.java:1454) Backup listen port: 10001
10:41:40.291 INFO [main] [app](Args.java:1455) Backup member size: 0
10:41:40.291 INFO [main] [app](Args.java:1456) Backup priority: 8
10:41:40.291 INFO [main] [app](Args.java:1457) ************************ Code version *************************
10:41:40.291 INFO [main] [app](Args.java:1458) Code version : 4.0.1
10:41:40.291 INFO [main] [app](Args.java:1459) Version code: 13210
10:41:40.291 INFO [main] [app](Args.java:1460) ************************ DB config *************************
10:41:40.291 INFO [main] [app](Args.java:1461) DB version : 2
10:41:40.291 INFO [main] [app](Args.java:1462) DB engine : LEVELDB
10:41:40.291 INFO [main] [app](Args.java:1463) ***************************************************************
10:41:40.291 INFO [main] [app](Args.java:1464)
10:41:40.292 INFO [main] [app](FullNode.java:57) not in debug mode, it will check energy time
10:41:40.372 INFO [main] [o.t.c.a.TronApplicationContext](AbstractApplicationContext.java:578) Refreshing org.tron.common.application.TronApplicationContext@623a8092: startup date [Wed Sep 23 10:41:40 CST 2020]; root of context hierarchy
10:41:41.315 INFO [main] [o.s.b.f.a.AutowiredAnnotationBeanPostProcessor](AutowiredAnnotationBeanPostProcessor.java:153) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
10:41:41.517 INFO [main] [DB](DynamicPropertiesStore.java:1683) update latest block header timestamp = 0
10:41:41.518 INFO [main] [DB](DynamicPropertiesStore.java:1691) update latest block header number = 0
10:41:41.523 INFO [main] [DB](DynamicPropertiesStore.java:1699) update latest block header id = 00
10:41:41.524 INFO [main] [DB](DynamicPropertiesStore.java:1704) update state flag = 0
10:41:41.565 INFO [main] [DB](DynamicPropertiesStore.java:1805) update allow protobuf number = 0
10:41:41.580 INFO [main] [app](DefaultConfig.java:55) key-value data source created.
10:41:42.050 INFO [main] [DB](Manager.java:564) create genesis block
10:41:42.051 INFO [main] [DB](Manager.java:570) save block: BlockCapsule
[ hash=0000000000000000a44702f46881df6244e7a146560b1aad331c4badec03bed9
number=0
parentId=957dc2d350daecc7bb6a38f3938ebde0a0c1cedafe15f0edae4256a2907449f6
witness address=41206e65772073797374656d206d75737420616c6c6f77206578697374696e672073797374656d7320746f206265206c696e6b656420746f67657468657220776974686f757420726571756972696e6720616e792063656e7472616c20636f6e74726f6c206f7220636f6f7264696e6174696f6e
generated by myself=true
generate time=1970-01-01 08:00:00.0
account root=0000000000000000000000000000000000000000000000000000000000000000
merkle root=b3c7d25e17a0ea9ee31e7102da52135d2d922957f9439a4e180a012e9dfff046
txs size=1
]
10:41:42.051 INFO [main] [DB](DynamicPropertiesStore.java:1691) update latest block header number = 0
10:41:42.051 INFO [main] [DB](DynamicPropertiesStore.java:1699) update latest block header id = 0000000000000000a44702f46881df6244e7a146560b1aad331c4badec03bed9
10:41:42.052 INFO [main] [DB](DynamicPropertiesStore.java:1683) update latest block header timestamp = 0
10:41:42.090 INFO [main] [DB](AssetUpdateHelper.java:34) Start updating the asset
10:41:42.118 INFO [main] [DB](AssetUpdateHelper.java:92) Total block:1
10:41:42.120 INFO [main] [DB](AssetUpdateHelper.java:120) Complete the asset store update,Total assets:0
10:41:42.122 INFO [main] [DB](AssetUpdateHelper.java:141) Complete the exchange store update,Total exchanges:0
10:41:42.125 INFO [main] [DB](AssetUpdateHelper.java:189) The number of accounts that have completed the update :0
10:41:42.126 INFO [main] [DB](AssetUpdateHelper.java:194) Complete the account store update,Total assets:3
10:41:42.126 INFO [main] [DB](AssetUpdateHelper.java:40) Complete the asset update,Total time:36 milliseconds
10:41:42.126 INFO [main] [DB](Manager.java:638) begin to init txs cache.
10:41:42.144 INFO [main] [DB](Manager.java:680) end to init txs cache. trxids:1, block count:1, empty block count:0, cost:18
10:41:42.519 INFO [main] [o.r.Reflections](Reflections.java:232) Reflections took 361 ms to scan 1 urls, producing 389 keys and 2119 values
10:41:42.561 INFO [main] [discover](NodeManager.java:72) homeNode : Node{ host='47.108.136.158', port=26666, id=da1a2c3045088dea74fc990a3d2bba92debdc6edca5438b68183835a82c01c6b1e947c4a3238bd9aa4244a7b1072e5e47e6f36fcbdade4d1e05032bd023f2150}
10:41:42.599 INFO [main] [net](PeerConnectionCheckService.java:44) start the PeerConnectionCheckService
10:41:42.657 INFO [DiscoverServer] [discover](DiscoverServer.java:101) Discovery server started, bind port 26666
10:41:42.658 INFO [nioEventLoopGroup-2-1] [discover](NodeManager.java:112) Reading Node statistics from PeersStore: 0 nodes.
10:41:42.923 INFO [main] [app](FullNode.java:100) ********register application shutdown hook********
10:41:42.925 INFO [main] [API](FullNodeHttpApiService.java:266) init zk param begin
10:41:43.442 INFO [main] [API](FullNodeHttpApiService.java:285) init zk param done
10:41:43.550 INFO [main] [API](RpcApiService.java:234) RpcApiService started, listening on 26669
10:41:43.556 INFO [main] [o.e.j.u.log](Log.java:193) Logging initialized @4460ms to org.eclipse.jetty.util.log.Slf4jLog
10:41:43.605 WARN [main] [o.e.j.s.h.ContextHandler](ContextHandler.java:1566) o.e.j.s.ServletContextHandler@26f5e45d{/,null,UNAVAILABLE} contextPath ends with /
10:41:43.623 INFO [main] [o.e.j.s.Server](Server.java:374) jetty-9.4.z-SNAPSHOT; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_262-b10
10:41:43.651 INFO [main] [o.e.j.s.session](DefaultSessionIdManager.java:365) DefaultSessionIdManager workerName=node0
10:41:43.652 INFO [main] [o.e.j.s.session](DefaultSessionIdManager.java:370) No SessionScavenger set, using defaults
10:41:43.653 INFO [main] [o.e.j.s.session](HouseKeeper.java:149) node0 Scavenging every 660000ms
10:41:43.660 INFO [main] [o.e.j.s.h.ContextHandler](ContextHandler.java:851) Started o.e.j.s.ServletContextHandler@26f5e45d{/wallet,null,AVAILABLE}
10:41:43.665 INFO [main] [o.e.j.s.AbstractConnector](AbstractConnector.java:289) Started ServerConnector@4768b95c{HTTP/1.1,[http/1.1]}{0.0.0.0:8090}
10:41:43.665 INFO [main] [o.e.j.s.Server](Server.java:411) Started @4569ms
10:41:43.671 INFO [main] [API](RpcApiServiceOnSolidity.java:115) RpcApiServiceOnSolidity started, listening on 50061
10:41:43.672 INFO [main] [o.e.j.s.Server](Server.java:374) jetty-9.4.z-SNAPSHOT; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_262-b10
10:41:43.676 INFO [main] [o.e.j.s.session](DefaultSessionIdManager.java:365) DefaultSessionIdManager workerName=node0
10:41:43.676 INFO [main] [o.e.j.s.session](DefaultSessionIdManager.java:370) No SessionScavenger set, using defaults
10:41:43.677 INFO [main] [o.e.j.s.session](HouseKeeper.java:149) node0 Scavenging every 600000ms
10:41:43.678 INFO [main] [o.e.j.s.h.ContextHandler](ContextHandler.java:851) Started o.e.j.s.ServletContextHandler@5f2b9da8{/,null,AVAILABLE}
10:41:43.678 INFO [main] [net](ChannelManager.java:83) Node config, trust 0, active 0, forward 0.
10:41:43.680 INFO [main] [net](FastForward.java:41) Fast forward config, isWitness: false, keySize: 0, fastForwardNodes: 0
10:41:43.682 INFO [main] [net](TronNetService.java:70) TronNetService start successfully.
10:41:43.683 WARN [main] [app](LocalWitnesses.java:107) privateKey is null
10:41:43.683 WARN [main] [consensus](ConsensusService.java:69) Witness 41dcc703c0e500b653ca82273b7bfad8045d85a470 is not in witnessStore.
10:41:43.683 INFO [PeerServerThread] [net](PeerServer.java:53) TCP listener started, bind port 26666
10:42:13.680 INFO [pool-26-thread-1] [net](SyncPool.java:121)
============ Peer stats: all 0, active 0, passive 0
10:42:23.680 INFO [pool-26-thread-1] [net](SyncPool.java:121)
============ Peer stats: all 0, active 0, passive 0
10:42:33.681 INFO [pool-26-thread-1] [net](SyncPool.java:121)
============ Peer stats: all 0, active 0, passive 0
10:42:42.659 INFO [NodeManagerTasks] [discover](NodeManager.java:132) Write Node statistics to PeersStore after: m:2/t:0/0/0 nodes.
10:42:43.681 INFO [pool-26-thread-1] [net](SyncPool.java:121)
============ Peer stats: all 0, active 0, passive 0
10:42:53.681 INFO [pool-26-thread-1] [net](SyncPool.java:121)
============ Peer stats: all 0, active 0, passive 0
Feel free to reopen it if you still have issue.
用的 easytransferbyprivate 这个api 报错信息 other error : The key argument cannot be null 是怎么回事了?