Documentation ¶
Overview ¶
Package node is a full-node Parallelcoin implementation written in Go.
The default options are sane for most users. This means pod will work 'out of the box' for most users. However, there are also a wide variety of flags that can be used to control it.
The following section provides a usage overview which enumerates the flags. An interesting point to note is that the long form of all of these options ( except -C/--configfile and -D --datadir) can be specified in a configuration file that is automatically parsed when pod starts up. By default, the configuration file is located at ~/.pod/pod. conf on POSIX-style operating systems and %LOCALAPPDATA%\pod\pod. conf on Windows. The -D (--datadir) flag, can be used to override this location.
NAME:
pod node - start parallelcoin full node
USAGE:
pod node [global options] command [command options] [arguments...]
VERSION:
v0.0.1
COMMANDS:
dropaddrindex drop the address search index droptxindex drop the address search index dropcfindex drop the address search index
GLOBAL OPTIONS:
--help, -h show help
Index ¶
- Constants
- Variables
- func Check(err error) bool
- func Debug(a ...interface{})
- func Debugc(fn func() string)
- func Debugf(format string, a ...interface{})
- func Debugs(a interface{})
- func Error(a ...interface{})
- func Errorc(fn func() string)
- func Errorf(format string, a ...interface{})
- func Errors(a interface{})
- func Fatal(a ...interface{})
- func Fatalc(fn func() string)
- func Fatalf(format string, a ...interface{})
- func Fatals(a interface{})
- func Info(a ...interface{})
- func Infoc(fn func() string)
- func Infof(format string, a ...interface{})
- func Infos(a interface{})
- func Main(cx *conte.Xt) (err error)
- func ParseCheckpoints(checkpointStrings []string) ([]chaincfg.Checkpoint, error)
- func Trace(a ...interface{})
- func Tracec(fn func() string)
- func Tracef(format string, a ...interface{})
- func Traces(a interface{})
- func ValidDbType(dbType string) bool
- func Warn(a ...interface{})
- func Warnc(fn func() string)
- func Warnf(format string, a ...interface{})
- func Warns(a interface{})
Constants ¶
const ( DefaultPort = "11047" DefaultRPCListener = "127.0.0.1" DefaultMaxPeers = 23 DefaultBanDuration = time.Hour * 24 DefaultBanThreshold = 100 DefaultMaxRPCClients = 10 DefaultMaxRPCWebsockets = 25 DefaultMaxRPCConcurrentReqs = 20 DefaultDbType = "ffldb" DefaultFreeTxRelayLimit = 15.0 DefaultTrickleInterval = peer.DefaultTrickleInterval DefaultBlockMaxSize = 200000 DefaultBlockMaxWeight = 3000000 BlockMaxSizeMin = 1000 BlockMaxSizeMax = blockchain.MaxBlockBaseSize - 1000 BlockMaxWeightMin = 4000 BlockMaxWeightMax = blockchain.MaxBlockWeight - 4000 DefaultMaxOrphanTransactions = 100 DefaultSigCacheMaxSize = 100000 )
A lotta constants that probably aren't being used
Variables ¶
var ( // KnownDbTypes stores the currently supported database drivers KnownDbTypes = database.SupportedDrivers() )
Functions ¶
func Main ¶
Main is the real main function for pod. It is necessary to work around the fact that deferred functions do not run when os.Exit() is called. The optional serverChan parameter is mainly used by the service code to be notified with the server once it is setup so it can gracefully stop it when requested from the service control manager.
func ParseCheckpoints ¶
func ParseCheckpoints(checkpointStrings []string) ([]chaincfg.Checkpoint, error)
ParseCheckpoints checks the checkpoint strings for valid syntax ( '<height>:<hash>') and parses them to chaincfg.Checkpoint instances.
func ValidDbType ¶
ValidDbType returns whether or not dbType is a supported database type.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
rpctest
Package rpctest provides a pod-specific RPC testing harness crafting and executing integration tests by driving a `pod` instance via the `RPC` interface.
|
Package rpctest provides a pod-specific RPC testing harness crafting and executing integration tests by driving a `pod` instance via the `RPC` interface. |
Package mempool provides a policy-enforced pool of unmined bitcoin transactions.
|
Package mempool provides a policy-enforced pool of unmined bitcoin transactions. |