Documentation
¶
Overview ¶
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. * * The DNA is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The DNA is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with The DNA. If not, see <http://www.gnu.org/licenses/>.
Directories
¶
| Path | Synopsis |
|---|---|
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
abi
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
sigsvr
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
sigsvr/handlers
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
sigsvr/store
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
utils
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
core
|
|
|
store/ledgerstore
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
store/overlaydb
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
http
|
|
|
base/actor
Package actor privides communication with other actor Package actor privides communication with other actor
|
Package actor privides communication with other actor Package actor privides communication with other actor |
|
base/common
Package common privides functions for http handler call * Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
Package common privides functions for http handler call * Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
base/error
Package error privides error code for http
|
Package error privides error code for http |
|
base/rest
Package rest privides functions to for restful server call
|
Package rest privides functions to for restful server call |
|
base/rpc
Package rpc provides functions to for rpc server call
|
Package rpc provides functions to for rpc server call |
|
jsonrpc
Package jsonrpc privides a function to start json rpc server
|
Package jsonrpc privides a function to start json rpc server |
|
localrpc
Package localrpc privides a function to start local rpc server
|
Package localrpc privides a function to start local rpc server |
|
nodeinfo
Package nodeinfo privides functions for nodeinfo server
|
Package nodeinfo privides functions for nodeinfo server |
|
restful
Package restful privides a function to start restful server
|
Package restful privides a function to start restful server |
|
restful/restful
Package restful privides restful server router and handler
|
Package restful privides restful server router and handler |
|
websocket
Package websocket privides a function to start websocket server
|
Package websocket privides a function to start websocket server |
|
websocket/session
Package session privides websocket server manager sessionlist
|
Package session privides websocket server manager sessionlist |
|
websocket/websocket
Package websocket privides websocket server handler
|
Package websocket privides websocket server handler |
|
common
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
net/protocol
Package p2p provides an network interface
|
Package p2p provides an network interface |
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
service/native/governance
Governance contract: Users can apply for a candidate node to join consensus selection, deposit ONT to authorize for candidate nodes, quit selection and unAuthorize for candidate nodes through this contract.
|
Governance contract: Users can apply for a candidate node to join consensus selection, deposit ONT to authorize for candidate nodes, quit selection and unAuthorize for candidate nodes through this contract. |
|
service/native/ontid
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
service/native/utils
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
service/neovm
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
service/wasmvm
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
Package txnpool provides a function to start micro service txPool for external process
|
Package txnpool provides a function to start micro service txPool for external process |
|
common
Package common provides constants, common types for other packages
|
Package common provides constants, common types for other packages |
|
proc
Package proc provides functions for handle messages from consensus/ledger/net/http/validators
|
Package proc provides functions for handle messages from consensus/ledger/net/http/validators |
|
validator
|
|
|
vm
|
|
|
neovm
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
wasmvm/disasm
Package disasm provides functions for disassembling WebAssembly bytecode.
|
Package disasm provides functions for disassembling WebAssembly bytecode. |
|
wasmvm/exec
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library.
|
* Copyright (C) 2018 The DNA Authors * This file is part of The DNA library. |
|
wasmvm/exec/internal/compile
Package compile is used internally by wagon to convert standard structured WebAssembly bytecode into an unstructured form suitable for execution by it's VM.
|
Package compile is used internally by wagon to convert standard structured WebAssembly bytecode into an unstructured form suitable for execution by it's VM. |
|
wasmvm/internal/stack
Package stack implements a growable uint64 stack
|
Package stack implements a growable uint64 stack |
|
wasmvm/validate
package validate provides functions for validating WebAssembly modules.
|
package validate provides functions for validating WebAssembly modules. |
|
wasmvm/wasm
Package wasm provides functions for reading and parsing WebAssembly modules.
|
Package wasm provides functions for reading and parsing WebAssembly modules. |
|
wasmvm/wasm/leb128
Package leb128 provides functions for reading integer values encoded in the Little Endian Base 128 (LEB128) format: https://en.wikipedia.org/wiki/LEB128
|
Package leb128 provides functions for reading integer values encoded in the Little Endian Base 128 (LEB128) format: https://en.wikipedia.org/wiki/LEB128 |
|
wasmvm/wasm/operators
Package operators provides all operators used by WebAssembly bytecode, together with their parameter and return type(s).
|
Package operators provides all operators used by WebAssembly bytecode, together with their parameter and return type(s). |