Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupBlockDB ¶
func LoadBlockDB ¶
loadBlockDB loads (or creates when needed) the block database taking into account the selected database backend and returns a handle to it. It also contains additional logic such warning the user if there are multiple databases which consume space on the file system and ensuring the regression test database is clean when in regression test mode.
func LoadConfig ¶
loadConfig initializes and parses the config using a config file and command line options.
func ParseAndSetDebugLevels ¶ added in v0.10.1
parseAndSetDebugLevels attempts to parse the specified debug level and set the levels accordingly. An appropriate error is returned if anything is invalid.
func StandardScriptVerifyFlags ¶
func StandardScriptVerifyFlags() (txscript.ScriptFlags, error)
standardScriptVerifyFlags returns the script flags that should be used when executing transaction scripts to enforce additional checks which are required for the script to be considered standard. Note these flags are different than what is required for the consensus rules in that they are more strict.
Types ¶
This section is empty.