Compare commits
89 Commits
simon/add-
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20a4b2c48f | ||
|
|
c140d3ad3f | ||
|
|
ea3f377e83 | ||
|
|
68d2eddc97 | ||
|
|
c00f086d45 | ||
|
|
fdb860d885 | ||
|
|
6abbdc8b98 | ||
|
|
9354c59203 | ||
|
|
6f0dc29c3a | ||
|
|
e9e29816de | ||
|
|
9075c8be88 | ||
|
|
dfea2032cd | ||
|
|
c04d421cf5 | ||
|
|
03eab2b2dd | ||
|
|
3ec7756dd9 | ||
|
|
cfa52c0ba4 | ||
|
|
e0470005e6 | ||
|
|
08dc19f091 | ||
|
|
d8967b53f5 | ||
|
|
7a8e2d0691 | ||
|
|
ddb4122e82 | ||
|
|
95ffa89d0d | ||
|
|
75837f9b0e | ||
|
|
d516dd1708 | ||
|
|
7dcef2af5b | ||
|
|
895cf0903e | ||
|
|
cf766de172 | ||
|
|
40394e9fae | ||
|
|
56f743111a | ||
|
|
a8f875c546 | ||
|
|
8768071e24 | ||
|
|
fd3e44f87d | ||
|
|
51b5522343 | ||
|
|
579243c6de | ||
|
|
14fd1f9ad0 | ||
|
|
0138019f39 | ||
|
|
45df756a2d | ||
|
|
7f83c4f2d7 | ||
|
|
479b10dc34 | ||
|
|
0f9ccb1b4f | ||
|
|
f737d86571 | ||
|
|
69ddd8827d | ||
|
|
cb9035162a | ||
|
|
8d811f3d3a | ||
|
|
5f32a67401 | ||
|
|
cd604489f7 | ||
|
|
1ec59e6d6a | ||
|
|
9dbca61e44 | ||
|
|
c7e976c9db | ||
|
|
7a7bba0fec | ||
|
|
9d1dde65e1 | ||
|
|
282bf18675 | ||
|
|
bc8b322360 | ||
|
|
fcc40d1cd5 | ||
|
|
ed6c3584aa | ||
|
|
77846d8c1b | ||
|
|
b78ac26152 | ||
|
|
2cba28a11f | ||
|
|
8ffa349985 | ||
|
|
8873e1a085 | ||
|
|
d4cfab726d | ||
|
|
2ae369945d | ||
|
|
06c5a72059 | ||
|
|
33480c04cd | ||
|
|
62ee47b269 | ||
|
|
fb21876d78 | ||
|
|
e9dbb21782 | ||
|
|
537b671e61 | ||
|
|
939a240733 | ||
|
|
d09864d088 | ||
|
|
70b2ea1143 | ||
|
|
74f3ece003 | ||
|
|
6e1fa12a38 | ||
|
|
0986fc8c84 | ||
|
|
5fab3ba188 | ||
|
|
b15ff5040a | ||
|
|
985ed19cb7 | ||
|
|
e59a4e4459 | ||
|
|
86039e8b75 | ||
|
|
49f2a8716a | ||
|
|
7351f381c0 | ||
|
|
a9f1d66df8 | ||
|
|
fb78785a96 | ||
|
|
45acdf3d96 | ||
|
|
3c141d8773 | ||
|
|
f198400f16 | ||
|
|
f2f1053078 | ||
|
|
adfebe8890 | ||
|
|
615e23cb54 |
84
.github/workflows/project-review-status.yml
vendored
Normal file
84
.github/workflows/project-review-status.yml
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
# Workflow: Automatically set project status to "Review Needed" when a reviewer is requested
|
||||
name: Set Project Status on Review Request
|
||||
|
||||
# Trigger: Runs whenever a reviewer is requested on a pull request
|
||||
on:
|
||||
pull_request:
|
||||
types: [review_requested]
|
||||
|
||||
jobs:
|
||||
update-project-status:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Update Project Status to Review Needed
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
# Use the PAT stored in repository secrets (has project write access)
|
||||
github-token: ${{ secrets.PROJECT_TOKEN }}
|
||||
script: |
|
||||
// GraphQL query to find the PR's project items
|
||||
// This fetches all projects the PR is linked to
|
||||
const query = `
|
||||
query($owner: String!, $repo: String!, $pr: Int!) {
|
||||
repository(owner: $owner, name: $repo) {
|
||||
pullRequest(number: $pr) {
|
||||
projectItems(first: 10) {
|
||||
nodes {
|
||||
id
|
||||
project {
|
||||
number
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
// Execute the query with current repo/PR context
|
||||
const result = await github.graphql(query, {
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
pr: context.payload.pull_request.number
|
||||
});
|
||||
|
||||
// Find the project item that belongs to project #8
|
||||
const projectItems = result.repository.pullRequest.projectItems.nodes;
|
||||
const projectItem = projectItems.find(item => item.project.number === 8);
|
||||
|
||||
// Exit early if PR isn't in project #8
|
||||
if (!projectItem) {
|
||||
console.log('PR is not in project #8, skipping...');
|
||||
return;
|
||||
}
|
||||
|
||||
// GraphQL mutation to update the Status field
|
||||
const mutation = `
|
||||
mutation($projectId: ID!, $itemId: ID!, $fieldId: ID!, $optionId: String!) {
|
||||
updateProjectV2ItemFieldValue(
|
||||
input: {
|
||||
projectId: $projectId
|
||||
itemId: $itemId
|
||||
fieldId: $fieldId
|
||||
value: { singleSelectOptionId: $optionId }
|
||||
}
|
||||
) {
|
||||
projectV2Item {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
// Execute the mutation using IDs stored in repository variables
|
||||
// PROJECT_ID: The project's unique identifier
|
||||
// STATUS_FIELD_ID: The "Status" field's unique identifier
|
||||
// REVIEW_NEEDED_OPTION_ID: The "Review Needed" option's unique identifier
|
||||
await github.graphql(mutation, {
|
||||
projectId: "${{ secrets.PROJECT_ID }}",
|
||||
itemId: projectItem.id,
|
||||
fieldId: "${{ secrets.STATUS_FIELD_ID }}",
|
||||
optionId: "${{ secrets.REVIEW_NEEDED_OPTION_ID }}"
|
||||
});
|
||||
|
||||
console.log('Successfully updated project status to Review Needed');
|
||||
18
.github/workflows/validate-json.yml
vendored
18
.github/workflows/validate-json.yml
vendored
@ -11,8 +11,16 @@ jobs:
|
||||
json_validator:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: json-syntax-check
|
||||
uses: limitusus/json-syntax-check@v1
|
||||
with:
|
||||
pattern: "\\.json$"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Check for duplicates
|
||||
run : |
|
||||
sh dupes.sh
|
||||
|
||||
- name: Check JSON syntax
|
||||
run: |
|
||||
if ! jq empty pools-v2.json; then
|
||||
echo "JSON syntax check failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
9
dupes.sh
Executable file
9
dupes.sh
Executable file
@ -0,0 +1,9 @@
|
||||
OUTPUT=$(cat pools-v2.json | jq 'group_by(.id) | map(select(length>1) | .[])')
|
||||
|
||||
if [ "$OUTPUT" = "[]" ]; then
|
||||
echo "no duplicate pool ids found"
|
||||
exit 0
|
||||
else
|
||||
echo "duplicate pool ids found: $OUTPUT"
|
||||
exit 1
|
||||
fi
|
||||
294
pools-v2.json
294
pools-v2.json
@ -31,7 +31,8 @@
|
||||
"bc1q39dled8an7enuxtmjql3pk7ny8kzvsxhd924sl"
|
||||
],
|
||||
"tags": [
|
||||
"terrapool.io"
|
||||
"terrapool.io",
|
||||
"Validated with Clean Energy"
|
||||
],
|
||||
"link": "https://terrapool.io"
|
||||
},
|
||||
@ -40,11 +41,12 @@
|
||||
"name": "Luxor",
|
||||
"addresses": [
|
||||
"1MkCDCzHpBsYQivp8MxjY5AkTGG1f2baoe",
|
||||
"39bitUyBcUu3y3hRTtYprKbTp712t4ZWqK"
|
||||
"39bitUyBcUu3y3hRTtYprKbTp712t4ZWqK",
|
||||
"32BfKjhByDSxx3BM5vUkQ3NQq9csZR6nt6"
|
||||
],
|
||||
"tags": [
|
||||
"/LUXOR/",
|
||||
"Powered by Luxor Tech"
|
||||
"Luxor Tech"
|
||||
],
|
||||
"link": "https://mining.luxor.tech"
|
||||
},
|
||||
@ -386,7 +388,7 @@
|
||||
],
|
||||
"tags": [
|
||||
"七彩神仙鱼",
|
||||
"/F2Pool/",
|
||||
"F2Pool",
|
||||
"🐟"
|
||||
],
|
||||
"link": "https://www.f2pool.com"
|
||||
@ -570,7 +572,8 @@
|
||||
"addresses": [],
|
||||
"tags": [
|
||||
"/NiceHashSolo",
|
||||
"/NiceHash/"
|
||||
"/NiceHash/",
|
||||
"/NiceHashMining/"
|
||||
],
|
||||
"link": "https://www.nicehash.com"
|
||||
},
|
||||
@ -1120,10 +1123,11 @@
|
||||
"name": "SpiderPool",
|
||||
"addresses": [
|
||||
"125m2H43pwKpSZjLhMQHneuTwTJN5qRyYu",
|
||||
"38u1srayb1oybVB43UWKBJsrwJbdHGtPx2"
|
||||
"38u1srayb1oybVB43UWKBJsrwJbdHGtPx2",
|
||||
"1BM1sAcrfV6d4zPKytzziu4McLQDsFC2Qc"
|
||||
],
|
||||
"tags": [
|
||||
"/SpiderPool/"
|
||||
"SpiderPool"
|
||||
],
|
||||
"link": "https://www.spiderpool.com"
|
||||
},
|
||||
@ -1158,7 +1162,8 @@
|
||||
"1DSh7vX6ed2cgTeKPwufV5i4hSi4pp373h",
|
||||
"1JvXhnHCi6XqcanvrZJ5s2Qiv4tsmm2UMy",
|
||||
"3L8Ck6bm3sve1vJGKo6Ht2k167YKSKi8TZ",
|
||||
"bc1qx9t2l3pyny2spqpqlye8svce70nppwtaxwdrp4"
|
||||
"bc1qx9t2l3pyny2spqpqlye8svce70nppwtaxwdrp4",
|
||||
"3G7jcEELKh38L6kaSV8K35pTqsh5bgZW2D"
|
||||
],
|
||||
"tags": [
|
||||
"/Binance/",
|
||||
@ -1230,7 +1235,8 @@
|
||||
"addresses": [
|
||||
"12KKDt4Mj7N5UAkQMN7LtPZMayenXHa8KL",
|
||||
"1FFxkVijzvUPUeHgkFjBk2Qw8j3wQY2cDw",
|
||||
"bc1qxhmdufsvnuaaaer4ynz88fspdsxq2h9e9cetdj"
|
||||
"bc1qxhmdufsvnuaaaer4ynz88fspdsxq2h9e9cetdj",
|
||||
"bc1p8k4v4xuz55dv49svzjg43qjxq2whur7ync9tm0xgl5t4wjl9ca9snxgmlt"
|
||||
],
|
||||
"tags": [
|
||||
"/2cDw/",
|
||||
@ -1277,7 +1283,8 @@
|
||||
"1A32KFEX7JNPmU1PVjrtiXRrTQcesT3Nf1"
|
||||
],
|
||||
"tags": [
|
||||
"MARA Pool"
|
||||
"MARA Pool",
|
||||
"MARA Made in USA"
|
||||
],
|
||||
"link": "https://marapool.com"
|
||||
},
|
||||
@ -1554,13 +1561,272 @@
|
||||
},
|
||||
{
|
||||
"id": 143,
|
||||
"name": "LuckPool",
|
||||
"name": "WhitePool",
|
||||
"addresses": [
|
||||
"14VkxDwSAUWrzYTxV49HnYhKLWTJ3pCoUS"
|
||||
],
|
||||
"tags": [
|
||||
"WhitePool"
|
||||
],
|
||||
"link": "https://whitebit.com/mining-pool"
|
||||
},
|
||||
{
|
||||
"id": 144,
|
||||
"name": "wiz",
|
||||
"addresses": [
|
||||
"1wizSAYSbuyXbt9d8JV8ytm5acqq2TorC",
|
||||
"tb1q548z58kqvwyjqwy8vc2ntmg33d7s2wyfv7ukq4"
|
||||
],
|
||||
"tags": [
|
||||
"/@wiz/"
|
||||
],
|
||||
"link": "https://wiz.biz/"
|
||||
},
|
||||
{
|
||||
"id": 145,
|
||||
"name": "mononaut",
|
||||
"addresses": [
|
||||
"mjP97q5BWtdpdsJLkEJvQWgLe9zw4MMVU6"
|
||||
],
|
||||
"tags": [
|
||||
"🐵🚀"
|
||||
],
|
||||
"link": "https://twitter.com/mononautical"
|
||||
},
|
||||
{
|
||||
"id": 146,
|
||||
"name": "rijndael",
|
||||
"addresses": [
|
||||
"tb1qg8zlznrvns9u46muxamxjh7sa8wry3vutzaujm"
|
||||
],
|
||||
"tags": [
|
||||
"rijndael's toaster"
|
||||
],
|
||||
"link": "https://twitter.com/rot13maxi"
|
||||
},
|
||||
{
|
||||
"id": 147,
|
||||
"name": "wk057",
|
||||
"addresses": [
|
||||
"1WizkidqARMLvjGUpfDQFRcEbnHpL55kK"
|
||||
],
|
||||
"tags": [
|
||||
"wizkid057's block"
|
||||
],
|
||||
"link": ""
|
||||
},
|
||||
{
|
||||
"id": 148,
|
||||
"name": "FutureBit Apollo Solo",
|
||||
"addresses": [],
|
||||
"tags": [
|
||||
"Apollo",
|
||||
"FutureBit",
|
||||
"/mined by a Solo FutureBit Apollo/"
|
||||
],
|
||||
"link": "https://www.futurebit.io"
|
||||
},
|
||||
{
|
||||
"id": 149,
|
||||
"name": "emzy",
|
||||
"addresses": [
|
||||
"tb1qmf7xdqc5nvzhturuzc46qtq5kywdf3p76cpq53"
|
||||
],
|
||||
"tags": [
|
||||
"Emzy was here."
|
||||
],
|
||||
"link": "https://twitter.com/emzy"
|
||||
},
|
||||
{
|
||||
"id": 150,
|
||||
"name": "knorrium",
|
||||
"addresses": [
|
||||
"tb1qtfqp4g7n7wc3sr6c2cuzsq62px4pfsxgsv2krx"
|
||||
],
|
||||
"tags": [
|
||||
"knorrium"
|
||||
],
|
||||
"link": "https://twitter.com/knorrium"
|
||||
},
|
||||
{
|
||||
"id": 151,
|
||||
"name": "Carbon Negative",
|
||||
"addresses": [
|
||||
"33SAB6pzbhEGPbfY6NVgRDV7jVfspZ3A3Z",
|
||||
"3KZDwmJHB6QJ13QPXHaW7SS3yTESFPZoxb"
|
||||
],
|
||||
"tags": [],
|
||||
"link": "https://github.com/bitcoin-data/mining-pools/issues/48"
|
||||
},
|
||||
{
|
||||
"id": 152,
|
||||
"name": "Portland.HODL",
|
||||
"addresses": [
|
||||
],
|
||||
"tags": ["Portland.HODL"],
|
||||
"link": ""
|
||||
},
|
||||
{
|
||||
"id": 153,
|
||||
"name": "Phoenix",
|
||||
"addresses": [
|
||||
"37cGvBD4qufoZQHopGS7XstxRUzx5cNuy1",
|
||||
"bc1q2zcenaujmmdv8sqgf723cug4vjnphkvvf8zpst",
|
||||
"1Ld6okoaLNDbSnougAyQTrchxRn9ELnTJg"
|
||||
],
|
||||
"tags": ["/Phoenix/"],
|
||||
"link": "https://phoenixpool.com"
|
||||
},
|
||||
{
|
||||
"id": 154,
|
||||
"name": "Neopool",
|
||||
"addresses": [
|
||||
"1HCAb2h89bUinm6QZrAPpfbk4ySBrT2V4w"
|
||||
],
|
||||
"tags": ["/Neopool/"],
|
||||
"link": "https://neopool.com/"
|
||||
},
|
||||
{
|
||||
"id": 155,
|
||||
"name": "MaxiPool",
|
||||
"addresses": [
|
||||
"36r3YqAXWpyqNcczjCBdHrYZ3m8X56WDzx"
|
||||
],
|
||||
"tags": ["/MaxiPool/"],
|
||||
"link": "https://maxipool.org/"
|
||||
},
|
||||
{
|
||||
"id": 156,
|
||||
"name": "DrDetroit",
|
||||
"addresses": [
|
||||
"tb1qtcruplnz89xw5f86kw8sj7x9r23d5yffrysx2p"
|
||||
],
|
||||
"tags": [
|
||||
"DrDetroit"
|
||||
],
|
||||
"link": "https://x.com/bankhatin"
|
||||
},
|
||||
{
|
||||
"id": 157,
|
||||
"name": "BitFuFuPool",
|
||||
"addresses": [
|
||||
"3JP3zF7LoeoAotqkNGdvX5szUyNPwd937d"
|
||||
],
|
||||
"tags": ["/BitFuFu/"],
|
||||
"link": "https://www.bitfufu.com/pool"
|
||||
},
|
||||
{
|
||||
"id": 158,
|
||||
"name": "GDPool",
|
||||
"addresses": [
|
||||
"1DnPPFQPrfyNTiHPXhDFyqNnW9T62GEhB1"
|
||||
],
|
||||
"tags": [
|
||||
"Lucky pool"
|
||||
"tags": ["Lucky pool", "GDPool"],
|
||||
"link": ""
|
||||
},
|
||||
{
|
||||
"id": 159,
|
||||
"name": "Mining-Dutch",
|
||||
"addresses": [
|
||||
"1AfPSq5ZbqBaxU5QAayLQJMcXV8HZt92eq"
|
||||
],
|
||||
"link": "https://luckpool.net"
|
||||
"tags": ["/Mining-Dutch/"],
|
||||
"link": "https://www.mining-dutch.nl/"
|
||||
},
|
||||
{
|
||||
"id": 160,
|
||||
"name": "Public Pool",
|
||||
"addresses": [],
|
||||
"tags": [
|
||||
"Public-Pool",
|
||||
"Public Pool on Umbrel"
|
||||
],
|
||||
"link": "https://web.public-pool.io/"
|
||||
},
|
||||
{
|
||||
"id": 161,
|
||||
"name": "Mining Squared",
|
||||
"addresses": [
|
||||
"3GdjWJdkJhtkxRZ3Ns1LstaoHNMBW8XsvU",
|
||||
"3AvXzTUat4p6Qf6ZLnRNvB3mDLjp3fNmjJ"
|
||||
],
|
||||
"tags": ["MiningSquared", "BSquared Network", "/bsquared/"],
|
||||
"link": "https://pool.bsquared.network/"
|
||||
},
|
||||
{
|
||||
"id": 162,
|
||||
"name": "Innopolis Tech",
|
||||
"addresses": [
|
||||
"bc1q75t4wewkmf3l9qg097zvtlh05v5pdz6699kv8k"
|
||||
],
|
||||
"tags": ["Innopolis", "Innopolis.tech"],
|
||||
"link": "https://innopolis.tech/"
|
||||
},
|
||||
{
|
||||
"id": 163,
|
||||
"name": "nymkappa",
|
||||
"addresses": [
|
||||
"tb1qdyy39724wqnqqqduv6zxsf56s2ec9lgypxs59h"
|
||||
],
|
||||
"tags": ["/@nymkappa/"],
|
||||
"link": "https://github.com/nymkappa"
|
||||
},
|
||||
{
|
||||
"id": 164,
|
||||
"name": "BTCLab",
|
||||
"addresses": [],
|
||||
"tags": [
|
||||
"BTCLab",
|
||||
"BTCLab.dev"
|
||||
],
|
||||
"link": "https://btclab.dev/"
|
||||
},
|
||||
{
|
||||
"id": 165,
|
||||
"name": "Parasite",
|
||||
"addresses": [],
|
||||
"tags": ["parasite"],
|
||||
"link": "https://parasite.space"
|
||||
},
|
||||
{
|
||||
"id": 166,
|
||||
"name": "RedRock Pool",
|
||||
"addresses": [
|
||||
"3554kSaWNnP3B49Xyybert7gmxq2YSnfnx"
|
||||
],
|
||||
"tags": ["RedRock"],
|
||||
"link": "https://redrock.pro/"
|
||||
},
|
||||
{
|
||||
"id": 167,
|
||||
"name": "Est3lar",
|
||||
"addresses": [
|
||||
"34qGNFx6uQv6SzjYPbYVWtjvuy5DSGugt8"
|
||||
],
|
||||
"tags": ["/Est3lar/", "est3lar", "Est3lar", "EST3LAR"],
|
||||
"link": "https://est3lar.io"
|
||||
},
|
||||
{
|
||||
"id": 168,
|
||||
"name": "Braiins Solo",
|
||||
"addresses": [],
|
||||
"tags": ["/braiinssolo/"],
|
||||
"link": "https://solo.braiins.com"
|
||||
},
|
||||
{
|
||||
"id": 169,
|
||||
"name": "SoloPool.com",
|
||||
"addresses": [
|
||||
"bc1qreaftg3lr53nv84dnxhcvchmswevzlp9tdj2jd"
|
||||
],
|
||||
"tags": ["/Mined @ SoloPool.Com/"],
|
||||
"link": "https://solopool.com"
|
||||
},
|
||||
{
|
||||
"id": 170,
|
||||
"name": "Noderunners",
|
||||
"addresses": [],
|
||||
"tags": ["/Noderunners/"],
|
||||
"link": "https://pool.noderunners.network"
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user