Check-in [a5891c9a06]
Overview
Comment:Added defaults for the node peering and peers
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a5891c9a06cb113668932af549aaec7fe45548831cefaa5127163859be20a2a6
User & Date: rkeene on 2018-09-26 14:09:59
Other Links: manifest | tags
Context
2018-10-29
17:22
Removed some extraneous code check-in: eec3752f94 user: rkeene tags: trunk
2018-09-26
14:09
Added defaults for the node peering and peers check-in: a5891c9a06 user: rkeene tags: trunk
2018-09-25
01:22
Added example script to generate work using the "work_generate" RPC check-in: 7cef158513 user: rkeene tags: trunk
Changes

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

1545
1546
1547
1548
1549
1550
1551




1552
1553
1554
1555
1556
1557
1558
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562







+
+
+
+







		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 {
		set basis_node_database [dict create]
		set basis_node_database [dict get $basis "node" "database"]
	}
	set default_node_database [dict create \
		"backend"        "lmdb" \
		"file"           "data.ldb" \