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

Airdrop claim transactions randomly fail to be mined #126

Open
johnnywu-namebase opened this issue Jan 12, 2021 · 24 comments
Open

Airdrop claim transactions randomly fail to be mined #126

johnnywu-namebase opened this issue Jan 12, 2021 · 24 comments

Comments

@johnnywu-namebase
Copy link

Some airdrop claim transactions fail to get mined. Fortunately, the current solution is pretty simple: just submit an airdrop claim once a day and eventually the claim will work.

@pinheadmz
Copy link
Member

pinheadmz commented Jan 12, 2021

Thanks for posting, hopefully we can try to figure what's going on.

It's possible some users are trying to set the fee too low: https://github.com/handshake-org/hs-airdrop#usage

Version 2.3.0 of hsd has a few improvements to help low fee transactions propagate and get confirmed.

It's also possible (though unlikely) that blocks are "full" of airdrops -- only up to 10 maximum are added to each block.

@pinheadmz
Copy link
Member

@johnnywu-namebase actually it may be helpful if you can direct users with this issue to... this issue. Maybe we can get some details and try to find a bug instead of just hitting retry.

@handshake-org handshake-org deleted a comment from mastermening Jan 31, 2021
@johnnywu-namebase
Copy link
Author

Sorry just seeing this (Github emails were getting spammed). Will redirect future airdrop claimers to this issue instead of just telling them to try it 👍

@faisalaja15
Copy link

faisalaja15 commented Feb 18, 2021

@pinheadmz bisa Beritahu saya? Untuk memberi tahukan step by step nya?

@paiva
Copy link

paiva commented Apr 6, 2021

Dear @pinheadmz,

I recently tried the claiming process, but I currently have a red banner on Namebase saying "There was an error submitting your airdrop to Handshake. If you're confident this airdrop has not already been claimed, contact support." I am confident the airdrop has not been claimed before. Here is what I did:

  1. Went to https://www.namebase.io/airdrop, and followed Steps 1 to 4. In Step 4, I went back to my Namebase Dashboard and clicked on "Generate address" button. I continued with Step 5 and the command generated a Base64 output

  2. Pasted this output on the "Paste code here" section on Step 5, but there was an error saying I need a HNS address and that I should refer back to Step 4. I tried these a couple of times more, still same error message, to go back to Step 4.

  3. Went back to Step 4 and clicked on "Click to Show Your Handshake Wallet Address". Took the address shown and run the command again ./bin/hs-airdrop ~/.ssh/id_rsa <address> 0.010

  4. Pasted Base64 output again at Step 5 and it worked! I saw a pop-up saying the claiming process began and that it was going to take around ~16 hours to show up on my wallet.

  5. On Namebase, the dashboard showed +4,200 HNS as incoming (processing), but a few hours later that disappeared and I saw the red banner with the error message

  6. I contacted Johnny, and tried pasting the (last) Base64 output again at Step 5 after waiting 48 hours. The pop-up says "We've already started this claim for you. You're all set."

What would you recommend I should try next? Thank you very much for your time

@pinheadmz
Copy link
Member

@paiva normally I would say you need to stick with Namebase support on this, but I have a suspicion, which is explained in #131

Could you email me the base64 output if you still have it? [email protected]
I can examine it and see if my suspicion is correct. You can also post it here, there's nothing too private about it (especially since the privacy feature is now expired).

@johnnywu-namebase I need to update the docs for hs-airdrop because goosig is now expired. Basically, all airdrop claims need to be generated with the --bare flag now, so you may need to update the docs on Namebase's side as well.

@paiva
Copy link

paiva commented Apr 6, 2021

@pinheadmz Thank you for the quick reply! I have sent you an email with the Base64 output. Thanks!

@pinheadmz
Copy link
Member

@paiva confirmed my suspicion:

[error] (node) Verification failure: bad-goosig-disabled (code=invalid score=0 hash=<...>)

You will need to re-run the hs-airdrop command and include the --bare flag.

hopefully Namebase allows you to resubmit. If they don't you can send the NEW base64 to me and I'll broadcast it. As long as you use the same HNS address from the Namebase wallet, it'll work.

@paiva
Copy link

paiva commented Apr 6, 2021

@pinheadmz I did the re-run with the --bare flag and resubmitted on Namebase. It allowed me to resubmit as I see a new "Pending" transaction on my dashboard again! Hopefully this time it will work. THANK YOU FOR YOUR HELP!

@johnnywu-namebase
Copy link
Author

@paiva normally I would say you need to stick with Namebase support on this, but I have a suspicion, which is explained in #131

Could you email me the base64 output if you still have it? [email protected]
I can examine it and see if my suspicion is correct. You can also post it here, there's nothing too private about it (especially since the privacy feature is now expired).

@johnnywu-namebase I need to update the docs for hs-airdrop because goosig is now expired. Basically, all airdrop claims need to be generated with the --bare flag now, so you may need to update the docs on Namebase's side as well.

Got it, thanks so much for identifying this, I suspect a lot of recent failed airdrops have this same problem

@hacket
Copy link

hacket commented Apr 24, 2021

Dear @pinheadmz,

I recently tried the claiming process, but I currently have a red banner on Namebase saying "There was an error submitting your airdrop to Handshake. If you're confident this airdrop has not already been claimed, contact support." I am confident the airdrop has not been claimed before. Here is what I did:

  1. Went to https://www.namebase.io/airdrop, and followed Steps 1 to 4. In Step 4, I went back to my Namebase Dashboard and clicked on "Generate address" button. I continued with Step 5 and the command generated a Base64 output
  2. Pasted this output on the "Paste code here" section on Step 5, but there was an error saying I need a HNS address and that I should refer back to Step 4. I tried these a couple of times more, still same error message, to go back to Step 4.
  3. Went back to Step 4 and clicked on "Click to Show Your Handshake Wallet Address". Took the address shown and run the command again ./bin/hs-airdrop ~/.ssh/id_rsa <address> 0.010
  4. Pasted Base64 output again at Step 5 and it worked! I saw a pop-up saying the claiming process began and that it was going to take around ~16 hours to show up on my wallet.
  5. On Namebase, the dashboard showed +4,200 HNS as incoming (processing), but a few hours later that disappeared and I saw the red banner with the error message
  6. I contacted Johnny, and tried pasting the (last) Base64 output again at Step 5 after waiting 48 hours. The pop-up says "We've already started this claim for you. You're all set."

What would you recommend I should try next? Thank you very much for your time

I have the same problem. I use --base , but I currently have a red banner on Namebase saying "There was an error submitting your airdrop to Handshake. If you're confident this airdrop has not already been claimed, contact support."
image

Here is the log:

$ ./bin/hs-airdrop --bare ~/.ssh/id_rsa hs1q6h5nmv6ftkpxte5sy93glw5gsymhu8pdk6w3nh 0.1
Passphrase:
Attempting to create proof.
This may take a bit.
Decrypting nonce...
------>>>>>> Check file path  /Users/hacket/.hs-tree-data/nonces/044.bin
Found nonce!
Rebuilding tree...
------>>>>>> Check file path  /Users/hacket/.hs-tree-data/tree.bin
Finding merkle leaf for reward 0...

6 keys found in your subtree:
  142fd85a80535a8940be07bd982bb5279e692d719f1c9255840cc7a15454e33b
  42c50712aff074dd85b5c9ff4839c35f8af08dcda4f1e939fb4290518352363d
  75e58ec40e9c5ab4c6065cfb50f7d0ec6e657ec10c4db966b915de95e65a309b (current)
  81519ba109c9dee3e6b86ab0f080181848a35f6eda1d716d1b2cc3df021ddc68
  a0f800f8057d36ed682d8ceb29aea7c67a3666288f05500b330797f65b7ed678
  a8aad367f963eea3254d6ad5036d875a3f8c096a1b9fb465dd9d3e1cfac71c25

Creating proof from leaf 19118:2...
Signing proof 19118:2...

JSON:
{
  "index": 19118,
  "proof": [
    "0279d336efd4f9f1aeb1fc3d0194ed690acaa75cabbda8a88ae99ca67b3dec97",
    "d0382f587f48ff21f53a5bee78a92a6e9b401e599934ee4b546ed9d48ef390d4",
    "4202c8d50c4e81e62672b7d66786d1e714b553f18efbfc3fbe69b904f6815bc0",
    "5e994483c9c69c9ec40633646bf50306688a804e4b578f6592cb1b394a6dfe48",
    "eb0d154c1f5bc94a8fafe69967c15fc98b7db82ae5064a9f7083d168a9c22e14",
    "9f0445ce1448c7100e58ad6a8a318b24bfd5513a59f67dbc482cf8df285ddd93",
    "9043a3e054af11623831d4ddfa5151d786452777d372e8e400f42141df2ccc31",
    "483aa4ebb0f300a958b2177d0c6ff7f7e0838b009a641a9e31c35cc6294010bb",
    "93c3ed2cdc46153f7a09bcfbd8ad1abb712637b9501f3d98acdcebd8f249b2f5",
    "96e6e93005e243f9865d2ba7ddf0664bf412a4b19501fca35365ebfebd076d99",
    "dc66082258fad36b4bcba0dbb3f8e115f473abd25968d6f41f44d9d7c40a5b27",
    "8ab2a6f0fe46e35acae2b8e77f7ac623d3a11839235253f74149277da5f8387f",
    "f4d5e7046cdcea3845d53b249e182a0b996580c0f2a1f7126926c850701b2d51",
    "ab0ba2c6245c789f2c35ad8c8fab46ba03733ada874c579cb7b7bb9492bbd0fe",
    "1b6d781ea72059e1ae574e9a94df390def81858ac175ed6be6b7b1e03be33b96",
    "d26ace926ed77496ff7d2971f06b4e1bdef8ddd4217d520318f5edb8a3f2fd03",
    "82bae1b70dadc6bd90a35001bdf212805f407874bc1dd2a7940235ee01449b85",
    "3bf89bebd7f258e19a281bd5a121e8d94ae2d31c670f775265590f3495a5ec38"
  ],
  "subindex": 2,
  "subproof": [
    "5b5497d0c13a4f17b5a0d658143841090c4c0e79444f6a4ab2fe3c9373edce96",
    "ecd7068236298e8dba80a7835f03363b7dda87ce40d32740486afdedbadadcd8",
    "eabfa406a4dd14b8cc3340eddabb4fd7a1f0e80a15b657ea9a518536b12b5bff"
  ],
  "key": {
    "type": "RSA",
    "n": "c00ef5ff5ae71c96efbf086b86d9165983c5ce746091646bbe0ccad81a1d04ce30df0c469a657a4465cf7f89ac31671752c7842784a677cd572582fdaea67631b4e0bca0d9e664d6c76ceaa7f9f8c4a5fea1483972391c376e80ca36bd8dbcebaa46d29fd794e5e0930ce117bcf3463214abf40b1db07a508f7c157923ede60129a8a3475a17e83ce3267c96895b3d9a308dcd42f7740acb65a63c37fa687fb21fe8696c321028d1630d606605cd30822db966f18cef35a5104a936a5202ec2468cebd467316f1819604a0b16e11bd036b728fa935abf0339f1e151716595c1f5cc386139e8caf3fdd39d3d2d2e981a1ade499771c09ec5417815e8737e48059",
    "e": "010001",
    "nonce": "10c29910945e2e091998c5be25c093f768a78fdc4a978ee17de9291c17d3d3e3"
  },
  "version": 0,
  "address": "d5e93db3495d8265e69021628fba8881377e1c2d",
  "fee": 100000,
  "signature": "4b816211a003d7227694ae402c5275b3f24ba0c7c4652545e2e1226b739f31d96cb8414bc06836bf667c5327ac461006add9aad300fe8eaf537e57fb01fa664d43476878e9c30351009bedddc88d525eb7bf3376b03a75007716bba68a36bd42783d0b5b1eecddf11220d6f5c65694e3dae24b80220afebfa6811beae09c59f69820f7ad1d993f2786d13b8087d4c28f1f0fd6b76f3cc8b94e062fa9bb38e1fd8f0356398f114c4f2691bf9100429033961d37f78aa0b621edbad8f141c0791448700debb0e4972b1dc71b88ef22895bb8cee793213d4119b5f9999816b3ed4ec94fe8b650499be9a031aed66caca663c2c41058d14ed12fe4280fe4435abe88"
}

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jIUq/QLHbB6UI98FXkj7eYBKaijR1oX6DzjJnyWiVs9mjCNzUL3dArLZaY8N/pof7If6GlsMhAo0WMNYGYFzTCCLblm8YzvNaUQSpNqUgLsJGjOvUZzFvGBlgSgsW4RvQNrco+pNavwM58eFRcWWVwfXMOGE56Mrz/dOdPS0umBoa3kmXccCexUF4FehzfkgFkDAQABEMKZEJReLgkZmMW+JcCT92inj9xKl47hfekpHBfT0+MAFNXpPbNJXYJl5pAhYo+6iIE3fhwt/qCGAQD9AAFLgWIRoAPXInaUrkAsUnWz8kugx8RlJUXi4SJrc58x2Wy4QUvAaDa/ZnxTJ6xGEAat2arTAP6Or1N+V/sB+mZNQ0doeOnDA1EAm+3dyI1SXre/M3awOnUAdxa7poo2vUJ4PQtbHuzd8RIg1vXGVpTj2uJLgCIK/r+mgRvq4JxZ9pgg960dmT8nhtE7gIfUwo8fD9a3bzzIuU4GL6m7OOH9jwNWOY8RTE8mkb+RAEKQM5YdN/eKoLYh7brY8UHAeRRIcA3rsOSXKx3HG4jvIolbuM7nkyE9QRm1+ZmYFrPtTslP6LZQSZvpoDGu1myspmPCxBBY0U7RL+QoD+RDWr6I

@pinheadmz

@pinheadmz
Copy link
Member

@hacket I tried broadcasting your raw airdrop proof but my full node is telling me it has already been confirmed (or an airdrop to one of your other keys, including possibly the goosig-tweaked key). You will have to continue to address this issue with Namebase support.

[error] (node) Verification failure: bad-txns-inputs-missingorspent (code=invalid score=0 hash=867280f07b12bc051135048c0a0640d3df7844b449742b1b708893e4f3b80341)
    at Mempool.insertAirdrop (/home/pi/hsd/lib/mempool/mempool.js:1294:13)
    at Mempool._addAirdrop (/home/pi/hsd/lib/mempool/mempool.js:1252:16)
    at Mempool.addAirdrop (/home/pi/hsd/lib/mempool/mempool.js:1233:25)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async FullNode.sendAirdrop (/home/pi/hsd/lib/node/fullnode.js:425:7)
    at async FullNode.relayAirdrop (/home/pi/hsd/lib/node/fullnode.js:446:7)
[warning] (node) Verification failed for proof: 867280f07b12bc051135048c0a0640d3df7844b449742b1b708893e4f3b80341.

@hacket
Copy link

hacket commented Apr 26, 2021

@pinheadmz I have two SSH keys, one for work and one for home use. The one above is the one used at home. Now the following is a working computer ssh key. Already have a red banner on Namebase.

./bin/hs-airdrop --bare ~/.ssh/id_rsa hs1q3dq6dnt6zdngj2cm6vdr0s8kzzadyd5mtu4zwh 0.1

Passphrase:
Attempting to create proof.
This may take a bit.
Decrypting nonce...
Found nonce!
Rebuilding tree...
Finding merkle leaf for reward 0...

6 keys found in your subtree:
  142fd85a80535a8940be07bd982bb5279e692d719f1c9255840cc7a15454e33b
  42c50712aff074dd85b5c9ff4839c35f8af08dcda4f1e939fb4290518352363d (current)
  75e58ec40e9c5ab4c6065cfb50f7d0ec6e657ec10c4db966b915de95e65a309b
  81519ba109c9dee3e6b86ab0f080181848a35f6eda1d716d1b2cc3df021ddc68
  a0f800f8057d36ed682d8ceb29aea7c67a3666288f05500b330797f65b7ed678
  a8aad367f963eea3254d6ad5036d875a3f8c096a1b9fb465dd9d3e1cfac71c25

Creating proof from leaf 19118:1...
Signing proof 19118:1...

JSON:
{
  "index": 19118,
  "proof": [
    "0279d336efd4f9f1aeb1fc3d0194ed690acaa75cabbda8a88ae99ca67b3dec97",
    "d0382f587f48ff21f53a5bee78a92a6e9b401e599934ee4b546ed9d48ef390d4",
    "4202c8d50c4e81e62672b7d66786d1e714b553f18efbfc3fbe69b904f6815bc0",
    "5e994483c9c69c9ec40633646bf50306688a804e4b578f6592cb1b394a6dfe48",
    "eb0d154c1f5bc94a8fafe69967c15fc98b7db82ae5064a9f7083d168a9c22e14",
    "9f0445ce1448c7100e58ad6a8a318b24bfd5513a59f67dbc482cf8df285ddd93",
    "9043a3e054af11623831d4ddfa5151d786452777d372e8e400f42141df2ccc31",
    "483aa4ebb0f300a958b2177d0c6ff7f7e0838b009a641a9e31c35cc6294010bb",
    "93c3ed2cdc46153f7a09bcfbd8ad1abb712637b9501f3d98acdcebd8f249b2f5",
    "96e6e93005e243f9865d2ba7ddf0664bf412a4b19501fca35365ebfebd076d99",
    "dc66082258fad36b4bcba0dbb3f8e115f473abd25968d6f41f44d9d7c40a5b27",
    "8ab2a6f0fe46e35acae2b8e77f7ac623d3a11839235253f74149277da5f8387f",
    "f4d5e7046cdcea3845d53b249e182a0b996580c0f2a1f7126926c850701b2d51",
    "ab0ba2c6245c789f2c35ad8c8fab46ba03733ada874c579cb7b7bb9492bbd0fe",
    "1b6d781ea72059e1ae574e9a94df390def81858ac175ed6be6b7b1e03be33b96",
    "d26ace926ed77496ff7d2971f06b4e1bdef8ddd4217d520318f5edb8a3f2fd03",
    "82bae1b70dadc6bd90a35001bdf212805f407874bc1dd2a7940235ee01449b85",
    "3bf89bebd7f258e19a281bd5a121e8d94ae2d31c670f775265590f3495a5ec38"
  ],
  "subindex": 1,
  "subproof": [
    "d1fc329519f94d31968ddcda0b51bbf665727471564c19bb4099f04f7643456d",
    "b89acf2020f35fa79d5c61f9b664b2ae9940f8dfb45244e96bbb350d6e41c4ab",
    "eabfa406a4dd14b8cc3340eddabb4fd7a1f0e80a15b657ea9a518536b12b5bff"
  ],
  "key": {
    "type": "RSA",
    "n": "cfe1f3af58cc7e4cd1d65a56510c71c84bc4550aeab0c0ad6792a370ca7023b50888f51128b76c4b468601ede320686c3ed0a1a28cbe748e39500a8c22909ae90af1f4c0a3f97958701165bf88b19e0b313fcdac5405376bd071635a0ba66c5894aee61296112ca52924c3596b659195072020816ee31b04a8ceaa7aa06873088b01b5676f90d4c55893c59e8cce22a3ab99007b01ece8547f2d83f5d123d21d0678b4e9c9ae4526980f94f5ba5b5f934252b2c9cb9c00407e657f531d7ee37f3cca6e0fe51aa60248cf4e2f1069cfe7ccb00c9e9df68e5f46d939e05224f341bf9313569e60ddb00da5e86d5e4d4524d10902d2229a353dbebfa0a5bad43fe98c8b72550a18b6af23f3b76ada1727bd1a7e6cf317302c57311656c0b43675a9b3d79ed687db192fd03a3a80b3fa43aa9ac5429936d82a29b9606690656d7e770af5d59339c773ea4d8739396ee4eee20e58357cf71aa980feea9cec0bd54a3036b82f9d7b43abca0230a990a528b41c4146db93a372f726ee93b846a489b3aecebb5a2d702a1d4df9807aa0ce989912b9afb8f531ad6bf7629eb0ad6a59dc60fe08323b01acadd65cc714c4e4ea81f0bd0d78338bf0a40c4e26fd384b4553098d0feee60b29fdd469a6a93c96907cd49ac1466407e52933b718cdbc47127dc8a33e2baa421584b7a360438b4ea7e00894aa4b82eb1dbcf1306ad1e64a387acb",
    "e": "010001",
    "nonce": "b09406e9c4e7f390040b5dab95a9d92932c8b67218243d965555ed7d3ef6cead"
  },
  "version": 0,
  "address": "8b41a6cd7a1366892b1bd31a37c0f610bad2369b",
  "fee": 100000,
  "signature": "c42693be7e0e7404516ac95bd24cca1cbece37a87d35c577219d0e08d0565f33ff89fae7d9a76096f7131c8c5456e445ae89bbd9e757ccf65abbf6d475f0c4531d74a1bf3ccfcb4b3a2e0c0b1fad7c9f0d054ea29e4504227e4e2b3a59f03df9c32db5d01796adfcac8e6213a42db5157f6de04e9f2c2c4bc67b73eea49c09821d23b1276568d1246519efe494ba3bd71bff2a1d3bf23214904c5a932b754483aa8f01339b756dfefc6aebc2282bc258d3dc1a0698f98981c7e25ed1c9e61cd825e3f5f252d7fbaa1e2f0682e348e14587d88768bfba90cf31542b67d26c84ed298241a7629cb72320e544101d8821b6df7e3a22a816f37120cdab80014d5bd80c4e581d0d8bf443c6f364a293a2ad674b2a421d94989be83f722b7ed939b900a9af7a63eaf7976e6c8f707ae2be006b8969807bfba820abab39216df2163f2e4ff5e6d619d49b4e3c4c17fdf8aa6980b4e81627682df1aa06ef952fc871ac0642e646c707b47760d2eaabf06b0d56b9f7f36d21e5b2f727dedbf5d346701be97185b71d6d15d86339450f2345a1ab917054a61de251bcd82352d2e4a83d4ea3b1c432982489709adcf6ca777ab884347da25a7dc037ea09b3bd56405a919df33265575b1b1743857153a50cb364592c4b3da723d68f27f82629e76a2009cd8a10c338b97ef5247ed9d7d1a5ca7196dff4612eea0ec5d6a572570904234f447d"
}

Base64 (pass this to $ hsd-rpc sendrawairdrop):
rkoAABICedM279T58a6x/D0BlO1pCsqnXKu9qKiK6Zymez3sl9A4L1h/SP8h9Tpb7nipKm6bQB5ZmTTuS1Ru2dSO85DUQgLI1QxOgeYmcrfWZ4bR5xS1U/GO+/w/vmm5BPaBW8BemUSDycacnsQGM2Rr9QMGaIqATktXj2WSyxs5Sm3+SOsNFUwfW8lKj6/mmWfBX8mLfbgq5QZKn3CD0Wipwi4UnwRFzhRIxxAOWK1qijGLJL/VUTpZ9n28SCz43yhd3ZOQQ6PgVK8RYjgx1N36UVHXhkUnd9Ny6OQA9CFB3yzMMUg6pOuw8wCpWLIXfQxv9/fgg4sAmmQanjHDXMYpQBC7k8PtLNxGFT96Cbz72K0au3EmN7lQHz2YrNzr2PJJsvWW5ukwBeJD+YZdK6fd8GZL9BKksZUB/KNTZev+vQdtmdxmCCJY+tNrS8ug27P44RX0c6vSWWjW9B9E2dfEClsnirKm8P5G41rK4rjnf3rGI9OhGDkjUlP3QUknfaX4OH/01ecEbNzqOEXVOySeGCoLmWWAwPKh9xJpJshQcBstUasLosYkXHifLDWtjI+rRroDczrah0xXnLe3u5SSu9D+G214HqcgWeGuV06alN85De+BhYrBde1r5rex4DvjO5bSas6Sbtd0lv99KXHwa04b3vjd1CF9UgMY9e24o/L9A4K64bcNrca9kKNQAb3yEoBfQHh0vB3Sp5QCNe4BRJuFO/ib69fyWOGaKBvVoSHo2Uri0xxnD3dSZVkPNJWl7DgBA9H8MpUZ+U0xlo3c2gtRu/ZlcnRxVkwZu0CZ8E92Q0VtuJrPICDzX6edXGH5tmSyrplA+N+0UkTpa7s1DW5BxKvqv6QGpN0UuMwzQO3au0/XofDoChW2V+qaUYU2sStb//0nAgAAAs/h869YzH5M0dZaVlEMcchLxFUK6rDArWeSo3DKcCO1CIj1ESi3bEtGhgHt4yBobD7Qo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kAqa96Y+r3l25sj3B64r4Aa4lpgHv7qCCrqzkhbfIWPy5P9ebWGdSbTjxMF/34qmmAtOgWJ2gt8aoG75UvyHGsBkLmRscHtHdg0uqr8GsNVrn3820h5bL3J97b9dNGcBvpcYW3HW0V2GM5RQ8jRaGrkXBUph3iUbzYI1LS5Kg9TqOxxDKYJIlwmtz2ynd6uIQ0faJafcA36gmzvVZAWpGd8zJlV1sbF0OFcVOlDLNkWSxLPacj1o8n+CYp52ogCc2KEMM4uX71JH7Z19GlynGW3/RhLuoOxdalclcJBCNPRH0=

@pinheadmz
Copy link
Member

@hacket I am getting a double-spend error for this airdrop proof as well.

Let me explain a bit: For the github user airdrop, every user only gets one. Even if you had 10 SSH keys and 10 PGP keys on github at the time of the snapshot, you can only claim one airdrop. Once you claim, the other 19 keys (in this example) are invalidated.

What these two proofs' validation errors are telling me is that one of your github keys was successfully submitted to the blockchain to claim an airdrop. If you claimed with a Namebase receive address, your airdrop should be included in your balance on Namebase.

@hacket
Copy link

hacket commented Apr 29, 2021

@pinheadmz If I claimed. How can I find out which NameBase account I have claimed?

@albertcht
Copy link

Hi @pinheadmz ,

I've tried to add --bare but still failed many times. I got There was an error submitting your airdrop to Handshake. If you're confident this airdrop has not already been claimed, contact support. on namebase's dashboard.

Could you please help me check out what the problem is? thanks in advance!

Here's the output detail:

Passphrase:
Attempting to create proof.
This may take a bit.
Decrypting nonce...
Found nonce!
Rebuilding tree...
Finding merkle leaf for reward 0...

2 keys found in your subtree:
  42a5aeb0afc00e74177a41948d071c15a61bcd43096d3eca57756b7aa3f44127 (current)
  a2f484c3fb663add0ef469b960bd70b8d9f591439df4d5706eed08f0f1612450

Creating proof from leaf 51763:4...
Signing proof 51763:4...

JSON:
{
  "index": 51763,
  "proof": [
    "d3e51b4b7bc38e7870d46f828e395ec6625803569d07ab4069513baa394b3257",
    "efe5cbba85af399fdeb70ddc7e5b098d34111ce32b1f76456ad5fb9dabf02067",
    "50ce6e91ad5fd7b7b4a72feb02a06bf944a4882aeeff697c6af7f3c9ffcec1e6",
    "ba1314bb0f85288e983754cd16d7064f1905f5000f250bcee0b382d72df53fbe",
    "2f0b1d5ceb8ec900fb18d0b23f0c8c877a221457573a03f056ac4f4827dff585",
    "a3ab48dafb6aa79890f23de82b2cb83ca99aef9e6ac29351c44c459e62e640d7",
    "be49e634022cb0d6f639c3a7a3dae6422d9bf39b71652e8e0d86b354678f6273",
    "3cbff69de955603603323c893727cf5030ee69ab865153c5fbc41bff4cbcb720",
    "c38695cda389276b5d4cc8b3d00fe04201d1856346f0e2c30e4e719e534d3a57",
    "28c8e55eb73aba607191c7bafc63bba77a327422366aa166c73f664f470e6582",
    "4b16e1d5b2a80f8b6e2a24a246f271ff4213085bc208cc538808e69be7dac152",
    "ca4c33a9f5882061dd6343f970530b2cd66f9a4431243f2f514599e7365d8bc2",
    "c889f499aec2f311a535a681237ecfb5526f8cb23b8c7c6dca9c487f163b3c76",
    "a9a33bbf686c2b8b01c4402b12820498c63d470f7d1fead9a614e54807ef657c",
    "c594b6f23d0f4bc18a8c15e36edd5793f400a17d0122d321dbb70ee42e6b86b9",
    "c76d1d8d7c543a733edc739bd010791e63a12cef588115fecdfc368470b68a4c",
    "82bae1b70dadc6bd90a35001bdf212805f407874bc1dd2a7940235ee01449b85",
    "3bf89bebd7f258e19a281bd5a121e8d94ae2d31c670f775265590f3495a5ec38"
  ],
  "subindex": 4,
  "subproof": [
    "f1b48d254ff3d02fa3d5e4ae95c801e5f724bc6d433b83c432e5854f8e8140cb",
    "04500d6f80593250839b1db2f76a10ab8f089d59b3e65832ab6b0dabaec172e1",
    "d804ae40aadd0833ed455d712c44d2c1e9043fd5624d293e1c4b449d30b09978"
  ],
  "key": {
    "type": "RSA",
    "n": "ad7a09b02e867334cb93e3770637695a4bc12f450d4da1233a8b82aa2a2b358ada4339855157ac823b1712db888cbbdb38ce905b932e6c300872add2709cff8167999cea3be95764197930dcae1ab90b7a7665698e6219c01401bca5d22b9e418c4f353bf95b977abfb373cd82cfa3551b3759c83ea94e5a35087da1478e04733008043a9253249bbd6308fd50cd68f9e38fc741363b47eb961d10308298d8e96255e00d914302f2bc647d0d01be1b4f2db5cca914f9f34a17d8f91b9c2c521f3511b3a7a8dcf316b90977fd8e846a53ec7e13731e1efcb86ef388359f64da3395e02b9972181ca22d0b3726500d13ebe3f87d10db2a36e3236a6586159bebc3",
    "e": "010001",
    "nonce": "ccd46678abc462726fbd3577b4548e13e545395c70ba7a5711104db9546cde54"
  },
  "version": 0,
  "address": "cbb5501ad61d0f3f15a6cb7c00da0af199aacf89",
  "fee": 1000000,
  "signature": "27ff77b550e211360dcf1e69045e93c8a7a3ce7046c6f21e045913e136fe94d565c957c2852ad687fdcb6659b1bc08a2ffacc662c970bbdc3d2d29f3820f23ff0389ee64e51fdc8592fe704b12bef9c8c572b9e5f407348859c24e4709049abc1285a5b7649fef7d2a61c4b085542230b62cff90c50c1f5db7d59882a01d7e63ac85952a65c233a42e920dffe4d8db85bcc722614ff815c5489fc1c83e80a4c99ece2024de00cfcbd23203d207a1a8d04ed6a266ee61be22013e1a74925d1d6265710c31fd72242b4c08a5c0ae6dce29047ded2df8fdcc157ea0567385530b74a7bc22cf741451a6d55caeeef0ff6d1c7ec38c1d50f38bae053cff22c8106562"
}

Base64 (pass this to $ hsd-rpc sendrawairdrop):
M8oAABLT5RtLe8OOeHDUb4KOOV7GYlgDVp0Hq0BpUTuqOUsyV+/ly7qFrzmf3rcN3H5bCY00ERzjKx92RWrV+52r8CBnUM5uka1f17e0py/rAqBr+USkiCru/2l8avfzyf/Owea6ExS7D4Uojpg3VM0W1wZPGQX1AA8lC87gs4LXLfU/vi8LHVzrjskA+xjQsj8MjId6IhRXVzoD8FasT0gn3/WFo6tI2vtqp5iQ8j3oKyy4PKma755qwpNRxExFnmLmQNe+SeY0Aiyw1vY5w6ej2uZCLZvzm3FlLo4NhrNUZ49iczy/9p3pVWA2AzI8iTcnz1Aw7mmrhlFTxfvEG/9MvLcgw4aVzaOJJ2tdTM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CDyP/A4nuZOUf3IWS/nBLEr75yMVyueX0BzSIWcJORwkEmrwShaW3ZJ/vfSphxLCFVCIwtiz/kMUMH1231ZiCoB1+Y6yFlSplwjOkLpIN/+TY24W8xyJhT/gVxUifwcg+gKTJns4gJN4Az8vSMgPSB6Go0E7WombuYb4iAT4adJJdHWJlcQwx/XIkK0wIpcCubc4pBH3tLfj9zBV+oFZzhVMLdKe8Is90FFGm1Vyu7vD/bRx+w4wdUPOLrgU8/yLIEGVi

@rithvikvibhu
Copy link
Member

@albertcht looks like the same as error as the previous one (#126 (comment)). It has already been claimed.

[error] (node) Verification failure: bad-txns-inputs-missingorspent (code=invalid score=0 hash=4b1eddb6a69935cae7be6a44d2223a3b4a491c6027b9dc78907dfece059130fa)
    at Mempool.insertAirdrop (/home/rithvik/hsd/lib/mempool/mempool.js:1276:13)                                                                
    at Mempool._addAirdrop (/home/rithvik/hsd/lib/mempool/mempool.js:1234:16)                                                                    
    at Mempool.addAirdrop (/home/rithvik/hsd/lib/mempool/mempool.js:1215:25)                                                                     
    at runMicrotasks (<anonymous>)                                                                                                               
    at processTicksAndRejections (internal/process/task_queues.js:93:5)                                                                        
    at async FullNode.sendAirdrop (/home/rithvik/hsd/lib/node/fullnode.js:414:7)                                                                 
    at async FullNode.relayAirdrop (/home/rithvik/hsd/lib/node/fullnode.js:435:7)                                                               
[warning] (node) Verification failed for proof: 4b1eddb6a69935cae7be6a44d2223a3b4a491c6027b9dc78907dfece059130fa.

@albertcht
Copy link

Hi @rithvikvibhu ,

Thanks for your reply. However, I'm pretty sure I haven't claimed the airdrop successfully and didn't see the reward on my nambase's wallet either.

Is there any other possibilities that may cause this error?

@pinheadmz
Copy link
Member

@hacket @albertcht don't forget airdrop claims require 100 confirmations before they are spendable. Give it at least a full day to show up in namebase.

@Martin91
Copy link

@johnnywu-namebase Seems like that generating base64 proof with --bare option worked for me. This time it finally transits to a new status waiting for more confirmations. Thanks a lot.

@albertcht
Copy link

Hi @pinheadmz , @rithvikvibhu , @johnnywu-namebase ,

I've waited over than 2 days and it seems still doesn't work. The status in namebase's dashboard is always Airdrop: waiting for airdrop to be mined... and then disappeared with error message There was an error submitting your airdrop to Handshake. If you're confident this airdrop has not already been claimed, contact support..

I'm one hundred percent sure that I haven't claimed the airdrop successfully. How can I find out the reason that causes this error? Thanks for your help.

@pinheadmz
Copy link
Member

Hi @pinheadmz , @rithvikvibhu , @johnnywu-namebase ,

I've waited over than 2 days and it seems still doesn't work. The status in namebase's dashboard is always Airdrop: waiting for airdrop to be mined... and then disappeared with error message There was an error submitting your airdrop to Handshake. If you're confident this airdrop has not already been claimed, contact support..

I'm one hundred percent sure that I haven't claimed the airdrop successfully. How can I find out the reason that causes this error? Thanks for your help.

@albertcht you must contact namebase support on their website or discord, unfortunately your case is now off-topic for this repository.

@juharris
Copy link

juharris commented May 6, 2021

Using --bare helped me. I also noticed that ./bin/hs-airdrop --help doesn't say that the fee can be given without -f or --fee whereas the steps at https://www.namebase.io/airdrop say to do:

$ ./bin/hs-airdrop --bare <path to key> <address> <fee>

also ./bin/hs-airdrop --help says to put the options after the address, so I did:

./bin/hs-airdrop <path to key> <address> --fee 0.1 --bare

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants