Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

P2PK is not currently supported, leading to inaccurate address balance

See original GitHub issue


scantxoutset "start" "[\"combo(041ada81ea00c11098d2f52c20d5aa9f5ba13f9b583fda66f2a478dd7d95a7ab615159d98b63df2e6f3ecb3ef9eda138e4587e7afd31e7f434cbb6837e17feb0c5)\"]"
  "success": true,
  "searched_items": 50244201,
  "unspents": [
      "txid": "540a7e54fd64478554519f1b2d643ecc888c5030631487f9cfc530b71d281309",
      "vout": 0,
      "scriptPubKey": "41041ada81ea00c11098d2f52c20d5aa9f5ba13f9b583fda66f2a478dd7d95a7ab615159d98b63df2e6f3ecb3ef9eda138e4587e7afd31e7f434cbb6837e17feb0c5ac",
      "amount": 50.00000000,
      "height": 50
      "txid": "8efb0be559ea251459184beca257fb36746a6c7464098b1bed2d12bb1383713b",
      "vout": 0,
      "scriptPubKey": "76a91449c0e836a0bb1e176097e6408efe6cb4c11a98f588ac",
      "amount": 0.00100000,
      "height": 410333
  "total_amount": 50.00100000

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

greenaddresscommented, Dec 7, 2018

It seems that almost all block explorers except would show P2PK outputs as common Base58 encoded P2PKH bitcoin addresses like 17iyRRXBHJKbv5DKPPkttWewm3CHdNPGQd.

I understand but that seems a bug to me. Even if intentional, it is incorrect.

Are you suggesting we should add search by public key or script pub key perhaps? because search by address (p2pkh or p2sh or bech32) shouldn’t include p2pk IMHO

Search by p2pk or scriptPubKey seems a decent feature to have, I added it to the list, see

greenaddresscommented, Dec 10, 2018

Closing, using #15 to keep track of search by scriptpubkey/scripthash

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to convert an address from p2pkh to p2sh?
Is it possible to covert a p2pkh adrress to a p2sh adress? Don't. Addresses are determined by the wallet. It's the receiver's wallet...
Read more >
5. Transactions - Mastering Bitcoin [Book]
Transactions consume UTXO by unlocking it with the signature of the current owner and create UTXO by locking it to the bitcoin address...
Read more >
Bitcoinlib Documentation
Bitcoin and other Crypto Currency Library for Python. Includes a fully functional wallet, with multi signature, multi currency and multiple ...
Read more >
Release notes
Release notes. Version 0.16.2. This is a bug fix and maintenance release. Notable changes: Support segwit in addSignedInput() methods.
Read more >
Solidity question on transfers and hashing
address payable[] public players;. then to write the transfer logic: players[index].transfer(address(this).balance);.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found