Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
Add test configuration for mock (i.e. hardcoded) synchronization between
Browse files Browse the repository at this point in the history
nodes.
  • Loading branch information
jfinkhaeuser committed Mar 15, 2019
1 parent 8e2b240 commit 880c33f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions testdata/sync/hyperconf1.json
@@ -0,0 +1,13 @@
{
"syncPort": 3030,
"storage": "/path/to/test-storage1",
"storageType": "hyperdrive",
"syncPeriod": 10000,
"key": "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
"storageNodes": {
"0xdeadd00ddeadd00ddeadd00ddeadd00ddeadd00ddeadd00ddeadd00ddeadd00d": {
"address": "::",
"port": 3031
}
}
}
13 changes: 13 additions & 0 deletions testdata/sync/hyperconf2.json
@@ -0,0 +1,13 @@
{
"syncPort": 3031,
"storage": "/path/to/test-storage2",
"storageType": "hyperdrive",
"syncPeriod": 10000,
"key": "0xdeadd00ddeadd00ddeadd00ddeadd00ddeadd00ddeadd00ddeadd00ddeadd00d",
"storageNodes": {
"0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef": {
"address": "::",
"port": 3030
}
}
}

0 comments on commit 880c33f

Please sign in to comment.