Skip to content

Instantly share code, notes, and snippets.

View bonedaddy's full-sized avatar
🌍
pfSense > cisco

bonedaddy bonedaddy

🌍
pfSense > cisco
  • Canada
View GitHub Profile
rtrade@capecod:~/KubeIPFS/temporal/testenv$ bash init.sh
_______ _
|__ __| | |
| | ___ _ __ ___ _ __ ___ _ __ __ _| |
| |/ _ \ '_ ' _ \| '_ \ / _ \| '__/ _' | |
| | __/ | | | | | |_) | (_) | | | (_| | |
|_|\___|_| |_| |_| .__/ \___/|_| \__,_|_|
| |
|_|
@bonedaddy
bonedaddy / results.txt
Created April 7, 2020 00:49
comparison between p2plab running go-ipfs and libp2p repos, vs TemporalX and our modified libp2p repos
#### go-ipfs ####
# Summary
Total time: 2 seconds 28 milliseconds
Trace:
# Bandwidth
+-------------------+----------------------+---------+----------+----------+----------+
| QUERY | NODE | TOTALIN | TOTALOUT | RATEIN | RATEOUT |
+-------------------+----------------------+---------+----------+----------+----------+
@bonedaddy
bonedaddy / results.txt
Created April 7, 2020 00:49
comparison between p2plab running go-ipfs and libp2p repos, vs TemporalX and our modified libp2p repos
#### go-ipfs ####
# Summary
Total time: 2 seconds 28 milliseconds
Trace:
# Bandwidth
+-------------------+----------------------+---------+----------+----------+----------+
| QUERY | NODE | TOTALIN | TOTALOUT | RATEIN | RATEOUT |
+-------------------+----------------------+---------+----------+----------+----------+
version: "3.5"
services:
nebula:
privileged: true
cap_add:
- "NET_ADMIN"
devices:
- /dev/net/tun:/dev/net/tun
image: rtradetech/boxit-nebula:latest
restart: on-failure
@bonedaddy
bonedaddy / overview.md
Created March 24, 2020 20:42
debugging ens-app craziness
  • 149c... contains all changes that consist of adding new files without altering any existing files (there's about 3 more changes we need to make in these files). And running yarn preTest here works.
$ yarn run preTest
yarn run v1.22.4
warning ../../../package.json: No license field
$ node -r esm src/testing-utils/preTest.js
(node:5548) UnhandledPromiseRejectionWarning: Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3-core-helpers/src/errors.js:42:16)
at XMLHttpRequest.request.onreadystatechange (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/web3-providers-http/src/index.js:73:32)
at XMLHttpRequestEventTarget.dispatchEvent (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/xhr2/lib/xhr2.js:64:18)
at XMLHttpRequest._setReadyState (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/xhr2/lib/xhr2.js:354:12)
at XMLHttpRequest._onHttpRequestError (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/xhr2/lib/xhr2.js:544:12)
yarn preTest
yarn run v1.22.4
warning ../../../package.json: No license field
$ node -r esm src/testing-utils/preTest.js
internal/modules/cjs/loader.js:985
throw err;
^
Error: Cannot find module 'esm'
Require stack:
> dig @localhost -p 5356 -x 172.30.255.254
; <<>> DiG 9.11.5-P4-5.1ubuntu2.1-Ubuntu <<>> @localhost -p 5356 -x 172.30.255.254
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34812
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
dns.7qiao.cn:5356 {
file db.dns.7qiao.cn
# only allow access to this record from nebula
acl lighthouse1.dns.7qiao.cn {
allow net 172.30.0.0/16
block
}
# only allow access to this record from nebula
acl lighthouse2.dns.7qiao.cn {
allow net 172.30.0.0/16
ESC[0;37m14:28:51.791 ESC[31mERROR ESC[0;34m basichost: ESC[0msetting stream deadline: stream closed ESC[0;37mbasic_host.go:238ESC[0m
ESC[0;37m12:40:47.561 ESC[31mERROR ESC[0;34m core: ESC[0mfailure on stop: context canceled; TODO: mock repo ESC[0;37mbuilder.go:47ESC[0m
ESC[0;37m12:44:07.625 ESC[31mERROR ESC[0;34m core: ESC[0mfailure on stop: context canceled; TODO: mock repo ESC[0;37mbuilder.go:47ESC[0m
ESC[0;37m07:54:02.414 ESC[31mERROR ESC[0;34m engine: ESC[0mtried to execute a task and errored fetching block: blockstore: block not found ESC[0;37mengine.go:209ESC[0m
ESC[0;37m04:42:16.876 ESC[31mERROR ESC[0;34m core: ESC[0mfailure on stop: context canceled; TODO: mock repo ESC[0;37mbuilder.go:47ESC[0m
ESC[0;37m04:42:17.341 ESC[31mERROR ESC[0;34m core: ESC[0mfailure on stop: context canceled; TODO: mock repo ESC[0;37mbuilder.go:47ESC[0m
ESC[0;37m04:43:21.968 ESC[31mERROR ESC[0;34m core: ESC[0mfailure on stop: context canceled; TODO: mock repo ESC[0;37mbuilder.go:47ESC[0m
ESC