mirror of
https://github.com/XeonSquared/OC-Copper.git
synced 2024-11-10 03:48:05 +11:00
14 lines
259 B
Lua
14 lines
259 B
Lua
-- Load testnet
|
|
local nodes = {}
|
|
local nodenames = {}
|
|
loadfile("testnet.lua")(function (n)
|
|
table.insert(nodes, {})
|
|
table.insert(nodenames, n)
|
|
end, function (a, b)
|
|
table.insert(nodes[a], b)
|
|
table.insert(nodes[b], a)
|
|
end)
|
|
|
|
-- Start testing
|
|
require("culib")
|