Directories
¶
| Path | Synopsis |
|---|---|
|
Package admin provides methods to sign message and to verify signed message
|
Package admin provides methods to sign message and to verify signed message |
|
Package build provide customized methods to build project.
|
Package build provide customized methods to build project. |
|
cmd
|
|
|
riskctrl
command
Command riskctrl do the audit job and send warning emails when finds illegal situations.
|
Command riskctrl do the audit job and send warning emails when finds illegal situations. |
|
swapadmin
command
Command swapadmin send admin swap command to the server node.
|
Command swapadmin send admin swap command to the server node. |
|
swaporacle
command
Command swaporacle start the oracle node.
|
Command swaporacle start the oracle node. |
|
swapscan
command
Command swapscan scan blockchains and post swap registers to the server node.
|
Command swapscan scan blockchains and post swap registers to the server node. |
|
swapserver
command
Command swapserver start the server node.
|
Command swapserver start the server node. |
|
swaptools
command
Package swaptools provides tools to build and send txs to blockchain.
|
Package swaptools provides tools to build and send txs to blockchain. |
|
utils
Package utils provides common sub commands and command flags.
|
Package utils provides common sub commands and command flags. |
|
Package common contains various helper functions.
|
Package common contains various helper functions. |
|
hexutil
Package hexutil implements hex encoding with 0x prefix.
|
Package hexutil implements hex encoding with 0x prefix. |
|
math
Package math provides integer math utilities.
|
Package math provides integer math utilities. |
|
Package dcrm is a client of dcrm server, doing the sign and accept tasks.
|
Package dcrm is a client of dcrm server, doing the sign and accept tasks. |
|
internal
|
|
|
Package leveldb is a wrapper of goleveldb.
|
Package leveldb is a wrapper of goleveldb. |
|
Package log is a wrapper of logrus.
|
Package log is a wrapper of logrus. |
|
Package mongodb is a wrapper of mgo.v2 that defines the collections and CRUD apis on them.
|
Package mongodb is a wrapper of mgo.v2 that defines the collections and CRUD apis on them. |
|
Package params provides common version info and config items.
|
Package params provides common version info and config items. |
|
Package riskctrl do the audit job and send warning emails when finds illegal situations.
|
Package riskctrl do the audit job and send warning emails when finds illegal situations. |
|
rpc
|
|
|
client
Package client provides methods to do http GET / POST request.
|
Package client provides methods to do http GET / POST request. |
|
restapi
Package restapi provides RESTful RPC service.
|
Package restapi provides RESTful RPC service. |
|
rpcapi
Package rpcapi provides JSON RPC service.
|
Package rpcapi provides JSON RPC service. |
|
server
Package server provides JSON/RESTful RPC service.
|
Package server provides JSON/RESTful RPC service. |
|
Package tokens defines the common interfaces and supported bridges in sub directories.
|
Package tokens defines the common interfaces and supported bridges in sub directories. |
|
block
Package block implements the bridge interfaces for block blockchain.
|
Package block implements the bridge interfaces for block blockchain. |
|
bridge
Package bridge init crosschain bridges.
|
Package bridge init crosschain bridges. |
|
btc
Package btc implements the bridge interfaces for btc blockchain.
|
Package btc implements the bridge interfaces for btc blockchain. |
|
btc/electrs
Package electrs get or post RPC queries to electrs server.
|
Package electrs get or post RPC queries to electrs server. |
|
colx
Package colx implements the bridge interfaces for colx blockchain.
|
Package colx implements the bridge interfaces for colx blockchain. |
|
colx/colxdev
command
Package colxdev dev tools to output compressed public key.
|
Package colxdev dev tools to output compressed public key. |
|
etc
Package etc implements the bridge interfaces for etc blockchain.
|
Package etc implements the bridge interfaces for etc blockchain. |
|
eth
Package eth implements the bridge interfaces for eth-like blockchain.
|
Package eth implements the bridge interfaces for eth-like blockchain. |
|
fsn
Package fsn implements the bridge interfaces for fsn blockchain.
|
Package fsn implements the bridge interfaces for fsn blockchain. |
|
ltc
Package ltc implements the bridge interfaces for ltc blockchain.
|
Package ltc implements the bridge interfaces for ltc blockchain. |
|
okex
Package okex implements the bridge interfaces for okex blockchain.
|
Package okex implements the bridge interfaces for okex blockchain. |
|
tools
Package tools provides tools for scanning and registering swaps.
|
Package tools provides tools for scanning and registering swaps. |
|
crypto
Package crypto provides facilities for ecdsa encryption and decryption.
|
Package crypto provides facilities for ecdsa encryption and decryption. |
|
keystore
Package keystore encrypt private key and save on disk uses JSON encoding.
|
Package keystore encrypt private key and save on disk uses JSON encoding. |
|
rlp
Package rlp implements the RLP serialization format.
|
Package rlp implements the RLP serialization format. |
|
Package types defines the eth-like core types (Transaction, etc) and RPC result types.
|
Package types defines the eth-like core types (Transaction, etc) and RPC result types. |
|
Package worker includes all the tasks and jobs to process bridge swaps.
|
Package worker includes all the tasks and jobs to process bridge swaps. |
Click to show internal directories.
Click to hide internal directories.