Documentation
¶
Index ¶
- func BlockConvBase58Addr(b *types.Block) string
- func ConvBlockchainStatus(in *types.BlockchainStatus) string
- func ConvHexBlockchainStatus(in *types.BlockchainStatus) string
- func ConvertUnit(n *big.Int, unit string) (string, error)
- func FillTxBody(source *InOutTxBody, target *types.TxBody) error
- func GetClient(serverAddr string, opts []grpc.DialOption) interface{}
- func JSON(pb protobuf.Message) string
- func ParseBase58Tx(jsonTx []byte) ([]*types.Tx, error)
- func ParseBase58TxBody(jsonTx []byte) (*types.TxBody, error)
- func ParseUnit(s string) (*big.Int, error)
- func PeerListToString(p *types.PeerList) string