Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
api
|
|
|
cmd/blockchain
command
|
|
|
cmd/dev
Package dev contains development tools and experiments.
|
Package dev contains development tools and experiments. |
|
cmd/wallet
command
Package wallet contains a command line implementation for the blockchain.
|
Package wallet contains a command line implementation for the blockchain. |
|
http/routes
Package route contains all the HTTP API routes.
|
Package route contains all the HTTP API routes. |
|
http/routes/check
Package check maintains the web based API for system checks.
|
Package check maintains the web based API for system checks. |
|
http/routes/v1/private
Package private maintains the private APIs for this node.
|
Package private maintains the private APIs for this node. |
|
http/routes/v1/public
Package public maintains the public APIs for this node.
|
Package public maintains the public APIs for this node. |
|
wallet
Package wallet contains the blockchain wallet implementation.
|
Package wallet contains the blockchain wallet implementation. |
|
app
|
|
|
database
Package database contains blockchain models and database interfaces.
|
Package database contains blockchain models and database interfaces. |
|
genesis
Package genesis provides a function to load the genesis data.
|
Package genesis provides a function to load the genesis data. |
|
mempool
Package mempool maintains the blockchain memory pool implementation.
|
Package mempool maintains the blockchain memory pool implementation. |
|
mempool/selector
Package selector provides different transaction selecting algorithms.
|
Package selector provides different transaction selecting algorithms. |
|
merkle
Package merkle provides an implementation of a merkel tree for validation support for the blockchain.
|
Package merkle provides an implementation of a merkel tree for validation support for the blockchain. |
|
node
Package node handles peer-to-peer networking for blockchain nodes.
|
Package node handles peer-to-peer networking for blockchain nodes. |
|
peer
Package peer maintains the node's peer to peer implementation.
|
Package peer maintains the node's peer to peer implementation. |
|
signature
Package signature provides functions to sign and verify data.
|
Package signature provides functions to sign and verify data. |
|
storage
Package storage provides a data store support to store the blockchain database.
|
Package storage provides a data store support to store the blockchain database. |
|
storage/bolt
Package bolt provides a bbolt-based implementation of the blockchain Storage interface.
|
Package bolt provides a bbolt-based implementation of the blockchain Storage interface. |
|
storage/disk
This implements the disk storage, it is a DEVELOPMENT ONLY storage device that writes and reads the blockchain on disk as JSON.
|
This implements the disk storage, it is a DEVELOPMENT ONLY storage device that writes and reads the blockchain on disk as JSON. |
|
worker
Package worker handles mining, peer updates, and transaction sharing.
|
Package worker handles mining, peer updates, and transaction sharing. |
|
internal
|
|
|
middleware
Package middleware provides middleware support to the web package.
|
Package middleware provides middleware support to the web package. |
|
validator
Package validator provides validation for structs.
|
Package validator provides validation for structs. |
|
web
Package web provides a lightweight web framework that builds upon Goβs standard http package to enhance functionality.
|
Package web provides a lightweight web framework that builds upon Goβs standard http package to enhance functionality. |
Click to show internal directories.
Click to hide internal directories.