From a01131093eb8110636d1692e290fdebd73a28816 Mon Sep 17 00:00:00 2001 From: Grant Date: Wed, 2 Oct 2024 12:58:24 -0500 Subject: [PATCH] delete old items: graph resource & setup scripts --- resources/graphs/64tanks_txrate.graphml | 1165 ------------ resources/graphs/__init__.py | 0 resources/graphs/default.graphml | 90 - .../tx_relay/15tps-100nodes-withoutpr.graphml | 1688 ----------------- resources/scripts/setup_minikube.sh | 121 -- resources/scripts/setup_user_contexts.sh | 86 - 6 files changed, 3150 deletions(-) delete mode 100644 resources/graphs/64tanks_txrate.graphml delete mode 100644 resources/graphs/__init__.py delete mode 100644 resources/graphs/default.graphml delete mode 100644 resources/graphs/tx_relay/15tps-100nodes-withoutpr.graphml delete mode 100755 resources/scripts/setup_minikube.sh delete mode 100755 resources/scripts/setup_user_contexts.sh diff --git a/resources/graphs/64tanks_txrate.graphml b/resources/graphs/64tanks_txrate.graphml deleted file mode 100644 index 98112d70e..000000000 --- a/resources/graphs/64tanks_txrate.graphml +++ /dev/null @@ -1,1165 +0,0 @@ - - - - - - - - - - - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - bitcoindevproject/bitcoin:27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - 27.0 - - - - True - txrate=getchaintxstats(10)["txrate"] blocks=getblockcount() mempool_size=getmempoolinfo()["size"] - False - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/resources/graphs/__init__.py b/resources/graphs/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/resources/graphs/default.graphml b/resources/graphs/default.graphml deleted file mode 100644 index aad5448ad..000000000 --- a/resources/graphs/default.graphml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 27.0 - uacomment=w0,debug=net - true - true - - - 27.0 - uacomment=w1 - true - true - - - bitcoindevproject/bitcoin:26.0 - uacomment=w2,debug=mempool - true - true - - - 27.0 - uacomment=w3 - true - - - 27.0 - uacomment=w4 - true - - - 27.0 - uacomment=w5 - true - - - 27.0 - uacomment=w6 - - - 27.0 - uacomment=w7 - - - 27.0 - uacomment=w8 - - - 27.0 - uacomment=w9 - - - 27.0 - uacomment=w10 - - - 27.0 - uacomment=w11 - - - - - - - - - - - - - - - - diff --git a/resources/graphs/tx_relay/15tps-100nodes-withoutpr.graphml b/resources/graphs/tx_relay/15tps-100nodes-withoutpr.graphml deleted file mode 100644 index 02bfd30b2..000000000 --- a/resources/graphs/tx_relay/15tps-100nodes-withoutpr.graphml +++ /dev/null @@ -1,1688 +0,0 @@ - - - - - - - - - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - True - True - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - bitcoindevproject/tx-relay-test:without-pr - -blockmaxweight=3996000 -debug=cmpctblock - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/resources/scripts/setup_minikube.sh b/resources/scripts/setup_minikube.sh deleted file mode 100755 index f835eed7c..000000000 --- a/resources/scripts/setup_minikube.sh +++ /dev/null @@ -1,121 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -set +x -set +v - -if [ -z "${WAR_RPC+x}" ]; then - echo "WAR_RPC is unset. Please provide a path to warnet RPC images." - exit 1 -fi - -ERROR_CODE=0 - -# Colors and styles -RESET='\033[0m' -BOLD='\033[1m' - -# Use colors if we can and have the color space -if command -v tput &> /dev/null; then - ncolors=$(tput colors) - if [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then - RESET=$(tput sgr0) - BOLD=$(tput bold) - fi -fi - -print_message() { - local color="$1" - local message="$2" - local format="${3:-}" - echo -e "${format}${color}${message}${RESET}" -} - -print_partial_message() { - local pre_message="$1" - local formatted_part="$2" - local post_message="$3" - local format="${4:-}" # Default to empty string if not provided - local color="${5:-$RESET}" - - echo -e "${color}${pre_message}${format}${formatted_part}${RESET}${color}${post_message}${RESET}" -} - -docker_path=$(command -v docker || true) -if [ -n "$docker_path" ]; then - print_partial_message " ⭐️ Found " "docker" ": $docker_path" "$BOLD" -else - print_partial_message " 💥 Could not find " "docker" ". Please follow this link to install Docker Engine..." "$BOLD" - print_message "" " https://docs.docker.com/engine/install/" "$BOLD" - ERROR_CODE=127 -fi - -current_user=$(whoami) -current_context=$(docker context show) -if id -nG "$current_user" | grep -qw "docker"; then - print_partial_message " ⭐️ Found " "$current_user" " in the docker group" "$BOLD" -elif [ "$current_context" == "rootless" ]; then - print_message " " "⭐️ Running Docker as rootless" "$BOLD" -elif [[ "$(uname)" == "Darwin" ]]; then - print_message " " "⭐️ Running Docker on Darwin" "$BOLD" -else - print_partial_message " 💥 Could not find " "$current_user" " in the docker group. Please add it like this..." "$BOLD" - print_message "" " sudo usermod -aG docker $current_user && newgrp docker" "$BOLD" - ERROR_CODE=1 -fi - -minikube_path=$(command -v minikube || true) -if [ -n "$minikube_path" ]; then - print_partial_message " ⭐️ Found " "minikube" ": $minikube_path " "$BOLD" -else - print_partial_message " 💥 Could not find " "minikube" ". Please follow this link to install it..." "$BOLD" - print_message "" " https://minikube.sigs.k8s.io/docs/start/" "$BOLD" - ERROR_CODE=127 -fi - -kubectl_path=$(command -v kubectl || true) -if [ -n "$kubectl_path" ]; then - print_partial_message " ⭐️ Found " "kubectl" ": $kubectl_path " "$BOLD" -else - print_partial_message " 💥 Could not find " "kubectl" ". Please follow this link to install it..." "$BOLD" - print_message "" " https://kubernetes.io/docs/tasks/tools/" "$BOLD" - ERROR_CODE=127 -fi - -helm_path=$(command -v helm || true) -if [ -n "$helm_path" ]; then - print_partial_message " ⭐️ Found " "helm" ": $helm_path" "$BOLD" -else - print_partial_message " 💥 Could not find " "helm" ". Please follow this link to install it..." "$BOLD" - print_message "" " https://helm.sh/docs/intro/install/" "$BOLD" - ERROR_CODE=127 -fi - -if [ $ERROR_CODE -ne 0 ]; then - print_message "" "There were errors in the setup process. Please fix them and try again." "$BOLD" - exit $ERROR_CODE -fi - -# Check minikube status -minikube delete - -# Prepare minikube start command -MINIKUBE_CMD="minikube start --driver=docker --container-runtime=containerd --mount --mount-string=\"$PWD:/mnt/src\"" - -# Check for WAR_CPU and add to command if set -if [ -n "${WAR_CPU:-}" ]; then - MINIKUBE_CMD="$MINIKUBE_CMD --cpus=$WAR_CPU" -fi - -# Check for WAR_MEM and add to command if set -if [ -n "${WAR_MEM:-}" ]; then - MINIKUBE_CMD="$MINIKUBE_CMD --memory=${WAR_MEM}m" -fi - -# Start minikube with the constructed command -eval "$MINIKUBE_CMD" - -echo -print_message "" "Next, run the following command to deploy warnet" "" -print_message "" " warnet cluster deploy" "$BOLD" -print_partial_message " After that, run " "warnet network start" " to start the network." "$BOLD" - diff --git a/resources/scripts/setup_user_contexts.sh b/resources/scripts/setup_user_contexts.sh deleted file mode 100755 index 5a4b631b2..000000000 --- a/resources/scripts/setup_user_contexts.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/usr/bin/env bash - -# Function to check if a command exists -command_exists() { - command -v "$1" >/dev/null 2>&1 -} - -# Function to display usage information -usage() { - echo "Usage: $0 [kubeconfig_directory] [token_duration]" - echo " namespace: The Kubernetes namespace" - echo " kubeconfig_directory: Directory to store kubeconfig files (default: kubeconfigs)" - echo " token_duration: Duration of the token in seconds (default: 600 seconds / 10 minutes)" - exit 1 -} - -# Check for required commands -if ! command_exists kubectl; then - echo "kubectl is not installed. Please install it and try again." - exit 1 -fi - -# Check if namespace argument is provided -if [ $# -eq 0 ]; then - usage -fi - -NAMESPACE=$1 -KUBECONFIG_DIR=${2:-"kubeconfigs"} -TOKEN_DURATION=${3:-600} - -CLUSTER_NAME=$(kubectl config view --minify -o jsonpath='{.clusters[0].name}') -CLUSTER_SERVER=$(kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}') -CLUSTER_CA=$(kubectl config view --minify --raw -o jsonpath='{.clusters[0].cluster.certificate-authority-data}') - -# Create the directory to store the kubeconfig files -mkdir -p "$KUBECONFIG_DIR" - -# Get all ServiceAccounts in the namespace -SERVICE_ACCOUNTS=$(kubectl get serviceaccounts -n $NAMESPACE -o jsonpath='{.items[*].metadata.name}') - -for SA in $SERVICE_ACCOUNTS; do - echo "Processing ServiceAccount: $SA" - - # Create a token for the ServiceAccount with specified duration - TOKEN=$(kubectl create token $SA -n $NAMESPACE --duration="${TOKEN_DURATION}s") - - if [ -z "$TOKEN" ]; then - echo "Failed to create token for ServiceAccount $SA. Skipping..." - continue - fi - - # Create a kubeconfig file for the user - KUBECONFIG_FILE="$KUBECONFIG_DIR/${SA}-${NAMESPACE}-kubeconfig" - - cat << EOF > "$KUBECONFIG_FILE" -apiVersion: v1 -kind: Config -clusters: -- name: ${CLUSTER_NAME} - cluster: - server: ${CLUSTER_SERVER} - certificate-authority-data: ${CLUSTER_CA} -users: -- name: ${SA} - user: - token: ${TOKEN} -contexts: -- name: ${SA}-${NAMESPACE} - context: - cluster: ${CLUSTER_NAME} - namespace: ${NAMESPACE} - user: ${SA} -current-context: ${SA}-${NAMESPACE} -EOF - - echo "Created kubeconfig file for $SA: $KUBECONFIG_FILE" - echo "Token duration: ${TOKEN_DURATION} seconds" - echo "To use this config, run: kubectl --kubeconfig=$KUBECONFIG_FILE get pods" - echo "---" -done - -echo "All kubeconfig files have been created in the '$KUBECONFIG_DIR' directory." -echo "Distribute these files to the respective users." -echo "Users can then use them with kubectl by specifying the --kubeconfig flag or by setting the KUBECONFIG environment variable." -echo "Note: The tokens will expire after ${TOKEN_DURATION} seconds."