Documentation ¶
Overview ¶
blockRead.go
mongoDB.go
options.go
rethinkDB
riakDB
rpcCall.go
transactionRead.go
Index ¶
- Constants
- Variables
- func AllTxInsert()
- func BlockCount() float64
- func BlockHash(block int) string
- func BlockInsert(opt string)
- func BlockTxInsert()
- func BlockVerify()
- func BlockVerifyRt()
- func GetTransaction(tx interface{}) map[string]interface{}
- func InsertBlocksRt()
- func InsertTxRt()
- func OpenRiak()
- func TestRT()
- type Options
- type Request
- type RequestInt
- type RequestString
Constants ¶
View Source
const ( // DnsSeed ['dnsseed.bluematt.me', 'dnsseed.bitcoin.dashjr.org', 'seed.bitcoinstats.com', 'bitseed.xf2.org'] User = "info" Password = "passw0rd" // MongoD = "10.39.81.90:49153" MongoD = "10.39.81.90:27017" BitcoinD = "http://10.39.81.85:8332" )
Variables ¶
View Source
var ( Riak = []string{"10.39.80.181:8087", "10.39.80.182:8087", "10.39.80.183:8087", "10.39.80.184:8087", "10.39.80.185:8087", "10.39.80.186:8087"} Rethink = []string{"10.39.80.182:28015", "10.39.80.183:28015", "10.39.80.184:28015", "10.39.80.185:28015", "10.39.80.186:28015", "10.39.80.181:28015"} Mongo = []string{"10.39.80.182:27018", "10.39.80.183:27018", "10.39.80.184:27018", "10.39.80.185:27018", "10.39.80.186:27018", "10.39.80.181:27018"} )
Functions ¶
func AllTxInsert ¶
func AllTxInsert()
func BlockCount ¶
func BlockCount() float64
func BlockInsert ¶
func BlockInsert(opt string)
func BlockTxInsert ¶
func BlockTxInsert()
func BlockVerify ¶
func BlockVerify()
func BlockVerifyRt ¶
func BlockVerifyRt()
func GetTransaction ¶
func GetTransaction(tx interface{}) map[string]interface{}
GetTransaction get a transaction with hash = tx
func InsertBlocksRt ¶
func InsertBlocksRt()
func InsertTxRt ¶
func InsertTxRt()
Types ¶
type RequestInt ¶
Click to show internal directories.
Click to hide internal directories.