chain5j-pkg

module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 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

chain5j

Directories

Path Synopsis
Package cli
Package cli
Package codec
Package codec
json
Package json
Package json
rlp
Package rlp
Package rlp
rlp/internal/rlpstruct
Package rlpstruct implements struct processing for RLP encoding/decoding.
Package rlpstruct implements struct processing for RLP encoding/decoding.
rlp/rlpgen command
collection
lookup
Package lookup
Package lookup
maps/hashmap
Package hashmap
Package hashmap
maps/linked_hashmap
Package linkedHashMap
Package linkedHashMap
maps/treemap
Package treemap
Package treemap
maps/treemap/v2
Package treemap provides a generic key-sorted map.
Package treemap provides a generic key-sorted map.
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
Package queue
trees/tree
Package tree
Package tree
Package color
Package color
Package copier
Package copier
Package crypto
Package crypto
base/base36
Package base36
Package base36
base/base58
Package base58
Package base58
base/base64
Package base64 base64编码
Package base64 base64编码
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
Package hashalg
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
Package icap
keccak
Package keccak
Package keccak
scrypt
Package scrypt
Package scrypt
signature
Package signature
Package signature
signature/gmsm
Package gmsm
Package gmsm
signature/prime256v1
Package prime256v1
Package prime256v1
signature/secp256k1
Package secp256k1
Package secp256k1
database
kvstore
Package kvstore 批量处理
Package kvstore 批量处理
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
Package errorx
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
Package network
rpc
Package rpc
Package rpc
rpcx
Package rpcx
Package rpcx
Package pool
Package pool
groupwork
Package groupwork
Package groupwork
Package types
Package types
util
convutil
Package convutil
Package convutil
dateutil
Package dateutil
Package dateutil
hexutil
Package hexutil
Package hexutil
ioutil
Package ioutil
Package ioutil
mathutil
Package mathutil
Package mathutil
reflectutil
Package reflectutil
Package reflectutil
uuid
snowflake
Package snowflake
Package snowflake

Jump to

Keyboard shortcuts

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