mirror of
https://github.com/arnaucube/goBlockchainDataAnalysis.git
synced 2026-02-07 03:36:44 +01:00
Merge branch 'master' of https://github.com/arnaucode/goBlockchainDataAnalysis
This commit is contained in:
@@ -31,9 +31,6 @@ other
|
|||||||
|
|
||||||
- num address evolution throught time
|
- 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
|
- pagination in address network generation
|
||||||
|
|
||||||
- stop rendering dots of sankey, when view change
|
- stop rendering dots of sankey, when view change
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ func explore(client *rpcclient.Client, blockHash string) {
|
|||||||
txVi, err := client.GetRawTransactionVerbose(th)
|
txVi, err := client.GetRawTransactionVerbose(th)
|
||||||
check(err)
|
check(err)
|
||||||
|
|
||||||
if len(txVi.Vout[Vi.Vout].ScriptPubKey.Addresses) > 0 {
|
//if len(txVi.Vout[Vi.Vout].ScriptPubKey.Addresses) > 0 {
|
||||||
//add tx to newBlock
|
//add tx to newBlock
|
||||||
newBlock.Tx = append(newBlock.Tx, blockTx.Txid)
|
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")
|
originAddresses = append(originAddresses, "origin")
|
||||||
}
|
}*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
saveTx(newTx)
|
||||||
fmt.Print("originAddresses: ")
|
fmt.Print("originAddresses: ")
|
||||||
fmt.Println(len(originAddresses))
|
fmt.Println(len(originAddresses))
|
||||||
fmt.Print("outputAddresses: ")
|
fmt.Print("outputAddresses: ")
|
||||||
|
|||||||
Reference in New Issue
Block a user