testrpc替代运行geth命令

时间:2016-11-07 18:58:48

标签: ethereum

我正在尝试运行Etherex项目,但这需要大量时间来下载整个区块链。有没有办法可以使用Option Explicit Sub Main() Dim i As Long Dim dict As Object Set dict = CreateObject("Scripting.Dictionary") For i = 4 To Range("A" & Rows.Count).End(xlUp).Row '<-- change 4 and "A" to your data actual upleftmost cell row and column dict(cells(i, 1).Value & "|" & cells(i, 2).Value) = dict(cells(i, 1).Value & "|" & cells(i, 2).Value) + cells(i, 3).Value '<--| change 3 to your actual "column to sum up" index Next With Range("G3").Resize(dict.Count) '<-- change "G3" to your actual upleftmost cell to start writing output data from .Value = Application.Transpose(dict.Keys) .TextToColumns Destination:=.cells, DataType:=xlDelimited, Other:=True, OtherChar:="|" .Offset(, 2).Resize(dict.Count).Value = Application.Transpose(dict.Items) '<--| change 2 to your actual column offset where to start writing summed values form End With End Sub 来模拟它。

这是我在使用testrpc

时使用的命令

geth

除了下载整个testnet区块链以运行项目之外,还有其他方法。我尝试过geth --testnet --rpc --rpccorsdomain http://localhost:8089testrpc,但两者都没有用。

0 个答案:

没有答案