mass-core

module
v0.0.0-...-43c3cf5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: MIT

README

MassNet Core

MIT

mass-core is a Golang implementation of MassNet full-node core modules.

Requirements

Go 1.13 or newer.

Development

Contributing Code
Prerequisites
  • Install Golang 1.13 or newer.
  • Install the specific version or ProtoBuf, and related protoc-*:
    # libprotoc
    libprotoc 3.6.1
    
    # github.com/golang/protobuf 1.3.2
    protoc-gen-go
    
    # github.com/gogo/protobuf 1.2.1
    protoc-gen-gogo
    protoc-gen-gofast
    
    # github.com/grpc-ecosystem/grpc-gateway 1.9.6
    protoc-gen-grpc-gateway
    protoc-gen-swagger
    
Modifying Code
  • New codes should be compatible with Go 1.13 or newer.
  • Run gofmt and goimports to lint go files.
  • Run make test before building executables.
Reporting Bugs

Contact MASS community via community@massnet.org, and we will get back to you soon.

Verifying Commits

The following keys maybe trusted to commit code.

Name Fingerprint
massnetorg A8A9 5C74 1AB8 08D3 E6E6 5B6C F8A8 D5CF 14D0 C419

License

MassNet Core is licensed under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.

Directories

Path Synopsis
ldb
This file is only used to check data correctness for 1.1.0
This file is only used to check data correctness for 1.1.0
memdb
Package memdb implements an instance of the database package that uses memory for the block storage.
Package memdb implements an instance of the database package that uses memory for the block storage.
Package errors implements a basic error wrapping pattern, so that errors can be annotated with additional information without losing the original error.
Package errors implements a basic error wrapping pattern, so that errors can be annotated with additional information without losing the original error.
base58
Package base58 provides an API for working with modified base58 and Base58Check encodings.
Package base58 provides an API for working with modified base58 and Base58Check encodings.
bech32
Package bech32 provides a Go implementation of the bech32 format specified in BIP 173.
Package bech32 provides a Go implementation of the bech32 format specified in BIP 173.
p2p
discover
Package discv5 implements the RLPx v5 Topic Discovery Protocol.
Package discv5 implements the RLPx v5 Topic Discovery Protocol.
netutil
Package netutil contains extensions to the net package.
Package netutil contains extensions to the net package.
upnp
Taken from taipei-torrent Just enough UPnP to be able to forward ports
Taken from taipei-torrent Just enough UPnP to be able to forward ports
poc
pocutil/crypto
Package crypto collects common cryptographic constants.
Package crypto collects common cryptographic constants.
pocutil/crypto/hash
Package hash provides interfaces for hash functions.
Package hash provides interfaces for hash functions.
pocutil/crypto/sha256
Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4.
Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4.
Package btcec implements support for the elliptic curves needed for bitcoin.
Package btcec implements support for the elliptic curves needed for bitcoin.
common/hexutil
Package hexutil implements hex encoding with 0x prefix.
Package hexutil implements hex encoding with 0x prefix.
massdb/leveldb
Package leveldb implements the key-value database layer based on LevelDB.
Package leveldb implements the key-value database layer based on LevelDB.
massdb/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.
pb
Package triepb is a generated protocol buffer package.
Package triepb is a generated protocol buffer package.
Package txscript implements the bitcoin transaction script language.
Package txscript implements the bitcoin transaction script language.
pb

Jump to

Keyboard shortcuts

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