Documentation
¶
Index ¶
- Constants
- func Base64UrlEncode(p []byte) string
- func HashData(p []byte) []byte
- func NewCreateTransaction(asset JsonObj, metadata JsonObj) transaction
- func NewInputItem() inputItem
- func NewTransferTransaction(assetId string, metadata JsonObj) transaction
- type BigChainCore
- type BigChainDB
- func (bc *BigChainDB) GetListTransactions(assetId string, operation string) ([]JsonObj, error)
- func (bc *BigChainDB) GetServerInfo() (JsonObj, error)
- func (bc *BigChainDB) GetTransaction(transaction_id string) (JsonObj, error)
- func (bc *BigChainDB) HttpGetFilter(fn func(string) (JsonObj, error), pubkey crypto.PublicKey, unspent bool) ([]JsonObj, error)
- func (bc *BigChainDB) HttpGetOutputs(pubkey crypto.PublicKey, unspent bool) ([]string, []int, error)
- func (bc *BigChainDB) NewTransaction(transaction JsonObj) (string, error)
- func (bc *BigChainDB) TransactionStatus(id string) bool
- type JsonObj
- type PrivateKey
- type PublicKey
- type Signature
- type TransactionLink
Constants ¶
View Source
const ( CREATE = "CREATE" GENESIS = "GENSIS" TRANSFER = "TRANSFER" VERSION = "1.0" )
Variables ¶
This section is empty.
Functions ¶
func Base64UrlEncode ¶
func NewCreateTransaction ¶
func NewInputItem ¶
func NewInputItem() inputItem
func NewTransferTransaction ¶
Types ¶
type BigChainCore ¶
type BigChainCore struct {
}
type BigChainDB ¶
func NewBigChainDB ¶
func NewBigChainDB(rootEndpoint string, headers *map[string]string) BigChainDB
func (*BigChainDB) GetListTransactions ¶
func (bc *BigChainDB) GetListTransactions(assetId string, operation string) ([]JsonObj, error)
func (*BigChainDB) GetServerInfo ¶
func (bc *BigChainDB) GetServerInfo() (JsonObj, error)
func (*BigChainDB) GetTransaction ¶
func (bc *BigChainDB) GetTransaction(transaction_id string) (JsonObj, error)
func (*BigChainDB) HttpGetFilter ¶
func (*BigChainDB) HttpGetOutputs ¶
func (*BigChainDB) NewTransaction ¶
func (bc *BigChainDB) NewTransaction(transaction JsonObj) (string, error)
func (*BigChainDB) TransactionStatus ¶
func (bc *BigChainDB) TransactionStatus(id string) bool
type PrivateKey ¶
type PrivateKey []byte
func (PrivateKey) String ¶
func (p PrivateKey) String() string
type TransactionLink ¶
type TransactionLink struct {
}
Click to show internal directories.
Click to hide internal directories.