Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated debug files #166

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ dist/
runtime/
*.env
__debug*

*.exe
.b7s_*
*.exe
.vscode/
202 changes: 127 additions & 75 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,77 +1,129 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Head Node",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--peer-db",
"/tmp/b7s/head-peer-db",
"--function-db",
"/tmp/b7s/head-fdb",
"--log-level",
"debug",
"--port",
"9527",
"--role",
"head",
"--workspace",
"/tmp/debug/head",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident1/priv.bin",
"--rest-api",
":8081"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Worker Node",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--peer-db",
"/tmp/b7s/worker-peer-db",
"--function-db",
"/tmp/b7s/worker-fdb",
"--log-level",
"debug",
"--port",
"0",
"--role",
"worker",
"--runtime-path",
"/tmp/runtime",
"--runtime-cli",
"bls-runtime",
"--workspace",
"/tmp/debug/worker",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident2/priv.bin",
"--boot-nodes",
"/ip4/0.0.0.0/tcp/9527/p2p/12D3KooWH9GerdSEroL2nqjpd2GuE5dwmqNi7uHX7FoywBdKcP4q"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Manager",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/manager",
"args": [
"-l",
"3333",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident2/priv.bin",
"--allowed-peer",
"QmSz8bJZjg9gWfvrJjYibo4UhSo8dXYtpNRb4kxn28SoHG"
],
"cwd": "${workspaceFolder}"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Launch Head Node",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--db",
"/tmp/b7s/head-db",
"--log-level",
"debug",
"--port",
"9527",
"--role",
"head",
"--workspace",
"/tmp/debug/head",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident1/priv.bin",
"--rest-api",
":8081"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Worker 1",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--db",
"/tmp/b7s/worker1-db",
"--log-level",
"debug",
"--port",
"0",
"--role",
"worker",
"--runtime-path",
"/tmp/runtime",
"--runtime-cli",
"bls-runtime",
"--workspace",
"/tmp/debug/worker",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident2/priv.bin",
"--boot-nodes",
"/ip4/0.0.0.0/tcp/9527/p2p/12D3KooWH9GerdSEroL2nqjpd2GuE5dwmqNi7uHX7FoywBdKcP4q"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Worker 2",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--db",
"/tmp/b7s/worker2-db",
"--log-level",
"debug",
"--port",
"0",
"--role",
"worker",
"--runtime-path",
"/tmp/runtime",
"--runtime-cli",
"bls-runtime",
"--workspace",
"/tmp/debug/worker",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident3/priv.bin",
"--boot-nodes",
"/ip4/0.0.0.0/tcp/9527/p2p/12D3KooWH9GerdSEroL2nqjpd2GuE5dwmqNi7uHX7FoywBdKcP4q"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Worker 3",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/node",
"args": [
"--db",
"/tmp/b7s/worker3-db",
"--log-level",
"debug",
"--port",
"0",
"--role",
"worker",
"--runtime-path",
"/tmp/runtime",
"--runtime-cli",
"bls-runtime",
"--workspace",
"/tmp/debug/worker",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident4/priv.bin",
"--boot-nodes",
"/ip4/0.0.0.0/tcp/9527/p2p/12D3KooWH9GerdSEroL2nqjpd2GuE5dwmqNi7uHX7FoywBdKcP4q"
],
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Manager",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/manager",
"args": [
"-l",
"3333",
"--private-key",
"${workspaceFolder}/configs/testkeys/ident2/priv.bin",
"--allowed-peer",
"QmSz8bJZjg9gWfvrJjYibo4UhSo8dXYtpNRb4kxn28SoHG"
],
"cwd": "${workspaceFolder}"
}
]
}
1 change: 1 addition & 0 deletions configs/testkeys/ident3/identity
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12D3KooWDQrRTPyYGMtNigi4giFuN2mGSrVwz5CfqGeaz8vVJKTG
1 change: 1 addition & 0 deletions configs/testkeys/ident3/peerid.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12D3KooWDQrRTPyYGMtNigi4giFuN2mGSrVwz5CfqGeaz8vVJKTG
2 changes: 2 additions & 0 deletions configs/testkeys/ident3/priv.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@â¥ØPB­g7Õ{}`×仌Š¬¤bGc5yó
5hÁ9¹Ï¼Jáqøÿ²X½ }sºø-ÂDè£8GØC
Expand Down
1 change: 1 addition & 0 deletions configs/testkeys/ident3/pub.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
 5hÁ9¹Ï¼Jáqøÿ²X½ }sºø-ÂDè£8GØC
1 change: 1 addition & 0 deletions configs/testkeys/ident3/pubkey.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CAESIDVowTm5z7xKH+Fx+P+yWL2gfXO6+C3CRAjooxc4R9hD
1 change: 1 addition & 0 deletions configs/testkeys/ident4/identity
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12D3KooWQMjaFg6nypNHiahyzG7L3Vpgod9NfBxrUbj1n25KycKA
1 change: 1 addition & 0 deletions configs/testkeys/ident4/peerid.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12D3KooWQMjaFg6nypNHiahyzG7L3Vpgod9NfBxrUbj1n25KycKA
1 change: 1 addition & 0 deletions configs/testkeys/ident4/priv.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@ØrW,µŠB¶¨K¨þÈYtsö8ÁîPäÃ۝°Æ]µ®óØ Ó<G<”â—rršl³_ŽºjúôñN…Š¤ª¸)
1 change: 1 addition & 0 deletions configs/testkeys/ident4/pub.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
 Ø Ó<G<”â—rršl³_ŽºjúôñN…Š¤ª¸)
1 change: 1 addition & 0 deletions configs/testkeys/ident4/pubkey.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CAESINgM0zxHPJTil3JymmyzX466agf69PFOhQ4QiqSquJ0p
Loading