Documentation ¶
Overview ¶
Package insolar is the next generation high-performance scalable blockchain platform designed with the express purpose to meet an immense business scope. The enterprise-grade distributed ledger cloud platform will help to increase business velocity, create new revenue streams, and reduce cost and risk by securely extending enterprise SaaS and on-premises applications to drive tamper-resistant transactions on a trusted business network.
Insolar supports public and private blockchains and is able to customize different blockchains for different applications.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package configuration holds configuration for all components in Insolar host binary It allows also helps to manage config resources using Holder
|
Package configuration holds configuration for all components in Insolar host binary It allows also helps to manage config resources using Holder |
Package core contains common definitions used by other modules.
|
Package core contains common definitions used by other modules. |
genesis
|
|
example
Package example provides smart contracts for building example of system work.
|
Package example provides smart contracts for building example of system work. |
mock/storage
Package storage provides interface and default implementation of storage as map for objects.
|
Package storage provides interface and default implementation of storage as map for objects. |
model/class
Package class provides constants for string representation of class for basic interfaces implementations.
|
Package class provides constants for string representation of class for basic interfaces implementations. |
model/contract
Package contract provides interface and default implementation of smart contract.
|
Package contract provides interface and default implementation of smart contract. |
model/domain
Package domain provides interface and default implementation of domain.
|
Package domain provides interface and default implementation of domain. |
model/object
Package object provides basic interfaces and default implementations of them.
|
Package object provides basic interfaces and default implementations of them. |
public/core
Package core allows to create Genesis Domain
|
Package core allows to create Genesis Domain |
Package ledger contains high level interfaces to storage engine and multiple record types
|
Package ledger contains high level interfaces to storage engine and multiple record types |
artifactmanager
Package artifactmanager provides high-level storage API for logic runner module.
|
Package artifactmanager provides high-level storage API for logic runner module. |
hash
Package hash contains Writer interface and SHA3 hasher.
|
Package hash contains Writer interface and SHA3 hasher. |
index
Package index represents indexes and meta information for records.
|
Package index represents indexes and meta information for records. |
jetcoordinator
Package jetcoordinator is responsible for all jet manipulations.
|
Package jetcoordinator is responsible for all jet manipulations. |
jetdrop
Package jetdrop represents Jet Drops (Blocks) of a blockchain.
|
Package jetdrop represents Jet Drops (Blocks) of a blockchain. |
ledgertestutil
Package ledgertestutil contains high level API tests and test utils for other modules.
|
Package ledgertestutil contains high level API tests and test utils for other modules. |
record
Package record contains code and types for storage records manipulation.
|
Package record contains code and types for storage records manipulation. |
storage
Package storage contains ledger storage implementation on top of BadgerDB engine.
|
Package storage contains ledger storage implementation on top of BadgerDB engine. |
storage/storagetest
Package storagetest contains high level API tests and test utils for other modules.
|
Package storagetest contains high level API tests and test utils for other modules. |
Package log contains adapter for third-party loggers
|
Package log contains adapter for third-party loggers |
Package logicrunner - infrastructure for executing smartcontracts
|
Package logicrunner - infrastructure for executing smartcontracts |
builtin
Package builtin is implementation of builtin contracts engine
|
Package builtin is implementation of builtin contracts engine |
goplugin
Package goplugin - golang plugin in docker runner
|
Package goplugin - golang plugin in docker runner |
goplugin/foundation
Package foundation server implementation of smartcontract functions
|
Package foundation server implementation of smartcontract functions |
Package messagerouter routes messages (contract calls & responses) and delivers'em to relevant modules.
|
Package messagerouter routes messages (contract calls & responses) and delivers'em to relevant modules. |
message
Package message represents message that messagerouter can route
|
Package message represents message that messagerouter can route |
network
|
|
hostnetwork
Package hostnetwork is an implementation of Kademlia DHT.
|
Package hostnetwork is an implementation of Kademlia DHT. |
hostnetwork/connection
Package connection encapsulates connection creation process and provides connection factories.
|
Package connection encapsulates connection creation process and provides connection factories. |
hostnetwork/host
Package host is a fundamental part of networking system.
|
Package host is a fundamental part of networking system. |
hostnetwork/packet
Package packet provides network messaging protocol and serialization layer.
|
Package packet provides network messaging protocol and serialization layer. |
hostnetwork/relay
Package relay is an implementation of relay mechanism.
|
Package relay is an implementation of relay mechanism. |
hostnetwork/resolver
Package resolver provides interface (and default implementation) to retrieve public network address.
|
Package resolver provides interface (and default implementation) to retrieve public network address. |
hostnetwork/routing
Package routing implements Kademlia hash tables with XOR distance metrics.
|
Package routing implements Kademlia hash tables with XOR distance metrics. |
hostnetwork/rpc
Package rpc allows higher level components to register methods that can be called by other network hosts.
|
Package rpc allows higher level components to register methods that can be called by other network hosts. |
hostnetwork/store
Package store provides interfaces and default in-memory implementation of storage for DHT metadata.
|
Package store provides interfaces and default in-memory implementation of storage for DHT metadata. |
hostnetwork/transport
Package transport provides network transport interface.
|
Package transport provides network transport interface. |
testutils
|
|
toolkit
|
|
go/foundation
Package foundation is a base package for writing smartcontracts in go language.
|
Package foundation is a base package for writing smartcontracts in go language. |
Click to show internal directories.
Click to hide internal directories.