Check-in [5caf8fe3fd]
Overview
Comment:Set a default number of bootstrap connections
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5caf8fe3fddb26b32ce53626d22ea4863b303932a76bb41add6b30d373e0565a
User & Date: rkeene on 2018-11-08 23:10:30
Other Links: manifest | tags
Context
2018-11-09
17:57
Fix description of "bulk_pull" check-in: b7740235b7 user: rkeene tags: trunk
2018-11-08
23:10
Set a default number of bootstrap connections check-in: 5caf8fe3fd user: rkeene tags: trunk
2018-10-29
17:22
Removed some extraneous code check-in: eec3752f94 user: rkeene tags: trunk
Changes

Modified nano.tcl from [2ac8c4f854] to [f990275d18].

1542
1543
1544
1545
1546
1547
1548
1549

1550
1551
1552
1553
1554
1555
1556
	]

	catch {
		set basis_node [dict create]
		set basis_node [dict get $basis "node"]
	}
	set default_node [dict create \
		"client_id"     [binary encode hex [::nano::internal::randomBytes 32]]

	]

	# XXX:TODO: Consider network
	dict set default_node "peering_port" "7075"
	dict set default_node "preconfigured_peers" [list "rai.raiblocks.net"]

	catch {







|
>







1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
	]

	catch {
		set basis_node [dict create]
		set basis_node [dict get $basis "node"]
	}
	set default_node [dict create \
		"client_id"     [binary encode hex [::nano::internal::randomBytes 32]] \
		"bootstrap_connections" "4" \
	]

	# XXX:TODO: Consider network
	dict set default_node "peering_port" "7075"
	dict set default_node "preconfigured_peers" [list "rai.raiblocks.net"]

	catch {