Bitcoin full node and query server

Jan 9, 2020

View in context in the libbitcoin Slack #general mirror.

vdeurzen12:19
Any tried the litecoin config with libbitcoin recently? I'm trying to see if it works but I'm running into either stale or wrong peers and a header sync doesn't really start 😕
6 replies · neillm, vdeurzen · last Jan 09, 2020
neillm12:46
I had tried it not too long ago and completed a full sync. Can probably look at the config and revisit this weekend.
vdeurzen12:47
could you share the config, I'm happy to just experiment 🙂
neillm12:49
Assumes a localhost sync'd litecoin peer.
bs.cfg.litecoin Plain Text · 13.4 KB
# Libbitcoin Server configuration file

[log]
# The debug log file path, defaults to 'debug.log'.
debug_file = debug.log
# The error log file path, defaults to 'error.log'.
error_file = error.log
# The log archive directory, defaults to 'archive'.
archive_directory = archive.litecoin
# The size at which a log is archived, defaults to 10000000 (0 disables).
rotation_size = 10000000
# The minimum free space required in the archive directory, defaults to 0.
minimum_free_space = 0
# The maximum combined size of archived logs, defaults to 0 (maximum).
maximum_archive_size = 0
# The maximum number of logs to archive, defaults to 0 (maximum).
maximum_archive_files = 10
# The address of the statistics collection server, defaults to none.
statistics_server = 0.0.0.0:0
# Enable verbose logging, defaults to false.
verbose = false

[bitcoin]
# The activation time for bip16 in unix time, defaults to 1333238400.
bip16_activation_time = 1333238400
# The hash:height checkpoint for bip34 activation, defaults to 000000000000024b89b42a942fe0d9fea3bb44ab7bd1b19115dd6a759c0808b8:227931.
bip34_active_checkpoint = fa09d204a83a768ed5a7c8d441fa62f2043abf420cff1226c7b4329aeb9d51cf:710000
# The block height to freeze the bip34 softfork as in bip90, defaults to 227931.
bip34_freeze = 710000
# The block height to freeze the bip65 softfork as in bip90, defaults to 388381.
bip65_freeze = 1201535
# The block height to freeze the bip66 softfork as in bip90, defaults to 363725.
bip66_freeze = 1201535
# The hash:height checkpoint for bip9 bit0 activation, defaults to 000000000000000004a1b34462cb8aeebd5799177f7a29cf28f2d1961716b5b5:419328.
bip9_bit0_active_checkpoint = 2985cdced60b267cf1c78ff009d4ae037300ecc2d751a4b01a9f2705bbe05db7:21111
# The hash:height checkpoint for bip9 bit1 activation, defaults to 0000000000000000001c8018d9cb3b742ef25114f27563e3fc4a1902167f9893:481824.
bip9_bit1_active_checkpoint = b50ce9202c152e481ca509156028af954654ed13e4b0656eb497554aa753db0b:1201535
# The target block period in seconds, defaults to 600.
block_spacing_seconds = 150
# The genesis block.
full file
vdeurzen12:49
thx 🙂!
neillm12:50
No problem, good luck!
vdeurzen12:50
😄