|
|
@ -100,7 +100,7 @@ func (vm *Vm) ProcContract(tx *Transaction, block *Block, cb TxCallback) { |
|
|
|
|
|
|
|
|
|
|
|
Pow256 := BigPow(2, 256) |
|
|
|
Pow256 := BigPow(2, 256) |
|
|
|
|
|
|
|
|
|
|
|
fmt.Printf("# op arg\n") |
|
|
|
//fmt.Printf("# op arg\n")
|
|
|
|
out: |
|
|
|
out: |
|
|
|
for { |
|
|
|
for { |
|
|
|
// The base big int for all calculations. Use this for any results.
|
|
|
|
// The base big int for all calculations. Use this for any results.
|
|
|
@ -113,7 +113,7 @@ out: |
|
|
|
if !cb(0) { break } |
|
|
|
if !cb(0) { break } |
|
|
|
|
|
|
|
|
|
|
|
if Debug { |
|
|
|
if Debug { |
|
|
|
fmt.Printf("%-3d %-4d\n", pc, op) |
|
|
|
//fmt.Printf("%-3d %-4d\n", pc, op)
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
switch op { |
|
|
|
switch op { |
|
|
|