chain5j-pkg

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2021 License: Apache-2.0

README

chain5j-pkg

简介

chain5j-pkg 是一个区块链相关的工具包集合。能便捷区块链开发过程中对相关工具的使用。

功能

  • 命令行:cli是对cobra的封装;
  • 编码:codec对编码器进行接口抽象。其中codec/json是json编码的封装,codec/rlp是rlp编码的封装;
  • 数据结构:collection是对map、tree、stack、queue等的封装;
  • 密码学:crypto是对密码学算法的封装,其中包含有base编码、hash算法、签名算法等封装;
  • 数据库:database是数据库封装。当前已完成对kv数据库接口化,并完成levelDB的对接;
  • 事件订阅:event是feed事件订阅的封装

安装使用

go get -u github.com/chain5j/chain5j-pkg

证书

chain5j-pkg 的源码允许用户在遵循 Apache 2.0 开源证书 规则的前提下使用。

版权

Copyright@2021 chain5j

Directories

Path Synopsis
Package cli @author: xwc1125 Package cli @author: xwc1125
Package cli @author: xwc1125 Package cli @author: xwc1125
Package codec @author: xwc1125 Package codec @author: xwc1125 Package codec @author: xwc1125
Package codec @author: xwc1125 Package codec @author: xwc1125 Package codec @author: xwc1125
json
Package json @author: xwc1125
Package json @author: xwc1125
rlp
Package rlp @author: xwc1125 Package rlp implements the RLP serialization format.
Package rlp @author: xwc1125 Package rlp implements the RLP serialization format.
collection
lookup
Package lookup @author: xwc1125 Package lookup @author: xwc1125
Package lookup @author: xwc1125 Package lookup @author: xwc1125
maps/hashmap
Package hashmap @author: xwc1125 Package hashmap @author: xwc1125 Package hashmap @author: xwc1125
Package hashmap @author: xwc1125 Package hashmap @author: xwc1125 Package hashmap @author: xwc1125
maps/linked_hashmap
Package linkedHashMap @author: xwc1125 Package linkedHashMap @author: xwc1125
Package linkedHashMap @author: xwc1125 Package linkedHashMap @author: xwc1125
queues/preque
Package prque implements a priority queue data structure supporting arbitrary value types and float priorities.
Package prque implements a priority queue data structure supporting arbitrary value types and float priorities.
queues/queue
Package queue @author: xwc1125 Package queue @author: xwc1125
Package queue @author: xwc1125 Package queue @author: xwc1125
trees/tree
Package tree @author: xwc1125 Package tree @author: xwc1125 Package trie implements Merkle Patricia Tries.
Package tree @author: xwc1125 Package tree @author: xwc1125 Package trie implements Merkle Patricia Tries.
Package crypto @author: xwc1125
Package crypto @author: xwc1125
base/base36
Package base36 @author: xwc1125
Package base36 @author: xwc1125
base/base58
Package base58 @author: xwc1125
Package base58 @author: xwc1125
bn256
Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
bn256/cloudflare
Package bn256 implements a particular bilinear group at the 128-bit security level.
Package bn256 implements a particular bilinear group at the 128-bit security level.
bn256/google
Package bn256 implements a particular bilinear group.
Package bn256 implements a particular bilinear group.
hashalg
Package hashalg @author: xwc1125 Package hashalg @author: xwc1125
Package hashalg @author: xwc1125 Package hashalg @author: xwc1125
hashalg/blake2b
Package blake2b implements the BLAKE2b hash algorithm defined by RFC 7693 and the extendable output function (XOF) BLAKE2Xb.
Package blake2b implements the BLAKE2b hash algorithm defined by RFC 7693 and the extendable output function (XOF) BLAKE2Xb.
hashalg/sha3
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
icap
Package icap @author: xwc1125 Package icap @author: xwc1125 Package icap @author: xwc1125 Package icap @author: xwc1125
Package icap @author: xwc1125 Package icap @author: xwc1125 Package icap @author: xwc1125 Package icap @author: xwc1125
scrypt
Package scrypt @author: xwc1125 Package scrypt @author: xwc1125 Package scrypt @author: xwc1125
Package scrypt @author: xwc1125 Package scrypt @author: xwc1125 Package scrypt @author: xwc1125
signature
Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125
Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125 Package signature @author: xwc1125
signature/gmsm
Package gmsm @author: xwc1125 Package gmsm @author: xwc1125 Package gmsm @author: xwc1125 Package gmsm @author: xwc1125 Package gmsm @author: xwc1125 Package gmsm @author: xwc1125
Package gmsm @author: xwc1125 Package gmsm @author: xwc1125 Package gmsm @author: xwc1125 Package gmsm @author: xwc1125 Package gmsm @author: xwc1125 Package gmsm @author: xwc1125
signature/prime256v1
Package prime256v1 @author: xwc1125 Package prime256v1 @author: xwc1125 Package prime256v1 @author: xwc1125
Package prime256v1 @author: xwc1125 Package prime256v1 @author: xwc1125 Package prime256v1 @author: xwc1125
signature/secp256k1
Package secp256k1 @author: xwc1125 Package secp256k1 @author: xwc1125 Package secp256k1 @author: xwc1125 Package secp256k1 @author: xwc1125
Package secp256k1 @author: xwc1125 Package secp256k1 @author: xwc1125 Package secp256k1 @author: xwc1125 Package secp256k1 @author: xwc1125
database
kvstore
Package kvstore @author: xwc1125 Package kvstore @author: xwc1125 Package kvstore @author: xwc1125
Package kvstore @author: xwc1125 Package kvstore @author: xwc1125 Package kvstore @author: xwc1125
kvstore/memorydb
Package memorydb implements the key-value database layer based on memory maps.
Package memorydb implements the key-value database layer based on memory maps.
Package errorx @author: xwc1125
Package errorx @author: xwc1125
Package math provides integer math utilities.
Package math provides integer math utilities.
Package mclock is a wrapper for a monotonic clock source
Package mclock is a wrapper for a monotonic clock source
Package network @author: xwc1125 Package network @author: xwc1125
Package network @author: xwc1125 Package network @author: xwc1125
rpc
Package rpc @author: xwc1125 Package rpc provides access to the exported methods of an object across a network or other I/O connection.
Package rpc @author: xwc1125 Package rpc provides access to the exported methods of an object across a network or other I/O connection.
Package pool @author: xwc1125
Package pool @author: xwc1125
groupwork
Package groupwork @author: xwc1125
Package groupwork @author: xwc1125
Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125
Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125 Package types @author: xwc1125
util
convutil
Package convutil @author: xwc1125 Package convutil @author: xwc1125
Package convutil @author: xwc1125 Package convutil @author: xwc1125
dateutil
Package dateutil @author: xwc1125
Package dateutil @author: xwc1125
hexutil
Package hexutil @author: xwc1125 Package hexutil implements hex encoding with 0x prefix.
Package hexutil @author: xwc1125 Package hexutil implements hex encoding with 0x prefix.
ioutil
Package ioutil @author: xwc1125
Package ioutil @author: xwc1125
mathutil
Package mathutil @author: xwc1125
Package mathutil @author: xwc1125
reflectutil
Package reflectutil @author: xwc1125 Package reflectutil @author: xwc1125
Package reflectutil @author: xwc1125 Package reflectutil @author: xwc1125
uuid
snowflake
Package snowflake @author: xwc1125
Package snowflake @author: xwc1125

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL