This commit is contained in:
arnaucode
2017-09-15 13:40:21 +02:00
2 changed files with 51 additions and 54 deletions

View File

@@ -31,9 +31,6 @@ other
- num address evolution throught time
- fix error in exploreBlockchain.go, when getting the tx.Vin
tx 8f04960da36beaa928b9693f7dca4afae5a6122bb6874d409a1156e4c6c55024 has 4 vin, but exploreBlockchain is only getting the first
- pagination in address network generation
- stop rendering dots of sankey, when view change

View File

@@ -125,7 +125,7 @@ func explore(client *rpcclient.Client, blockHash string) {
txVi, err := client.GetRawTransactionVerbose(th)
check(err)
if len(txVi.Vout[Vi.Vout].ScriptPubKey.Addresses) > 0 {
//if len(txVi.Vout[Vi.Vout].ScriptPubKey.Addresses) > 0 {
//add tx to newBlock
newBlock.Tx = append(newBlock.Tx, blockTx.Txid)
@@ -183,12 +183,12 @@ func explore(client *rpcclient.Client, blockHash string) {
}
}
saveTx(newTx)
} else {
/*} else {
originAddresses = append(originAddresses, "origin")
}
}*/
}
saveTx(newTx)
fmt.Print("originAddresses: ")
fmt.Println(len(originAddresses))
fmt.Print("outputAddresses: ")