Giter Club home page Giter Club logo

Comments (10)

ragestack avatar ragestack commented on July 24, 2024 2

Line 218 of parser's code save output script to the resulting output file, this strings contains the address that you want to extract

from blockchain-parser.

ragestack avatar ragestack commented on July 24, 2024 1

Hi! Just leave output script at the output data, the output script contains the address.

from blockchain-parser.

MohammadAsadolahi avatar MohammadAsadolahi commented on July 24, 2024

i dont understand what you mean can you give me a example code please
i want to get all adresses that has any kind of transaction on blockchain of all time

from blockchain-parser.

MohammadAsadolahi avatar MohammadAsadolahi commented on July 24, 2024

hello i emailed you and i would be so thanksful if you answer me. thank you

from blockchain-parser.

MohammadAsadolahi avatar MohammadAsadolahi commented on July 24, 2024

**hi and thank you for answering. i used your code and it works fine i get output file but my problem is the "output and input script" in result that you have mentioned does not have a bitcoin valid address. for example they are in 51 and 31 and 32 length but i downloaded positive balance addresses from https://gz.blockchair.com/bitcoin/addresses/ and all addresses are 34 character long witch can be searched in blockchain sites to track their activities
problem with https://blockchair.com file is it contains only positive balance addresses for today but i need all addresses had any activity from start of bitcoin

for example these are some address from https://gz.blockchair.com file:

  1. 34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo
  2. 38UmuUqPCrFmQo4khkomQwZ4VbY2nZMJ67
  3. 1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF
  4. 3LYJfcfHPXYJreMsASk2jkn69LWEYKzexb
  5. 3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS
  6. 3LQeSjqS5aXJVCDGSHPR88QvjheTwrhP8N
  7. 1LdRcdxfbSnmCYYNdeYpUnztiYzVfBEQeC
  8. 1AC4fMwgY8j9onSbXEWeH6Zan8QGMSdmtA

and here is some lines of blockchain parser output witch contains strange addresses:

TX version number = 00000001
Inputs count = 01
TX from hash = 0000000000000000000000000000000000000000000000000000000000000000
N output = FFFFFFFF
Input script = 04F3254A4D0107062F503253482F
Sequence number = FFFFFFFF
Outputs count = 1
Value = 000000012A05F200
Output script = 2102554C25F06B4A5E813F36F7C8B273BBF65937C6DB934B4C219F453DC5A58D7D9DAC
Lock time = 00000000
TX hash = 9BA72F637B19CCAC0EA9F79BB100800869BDD35264647EEC9B2F68ACA47F5696

TX version number = 00000001
Inputs count = 01
TX from hash = 0000000000000000000000000000000000000000000000000000000000000000
N output = FFFFFFFF
Input script = 04FFFF001D0104455468652054696D65732030332F4A616E2F32303039204368616E63656C6C6F72206F6E206272696E6B206F66207365636F6E64206261696C6F757420666F722062616E6B73
Sequence number = FFFFFFFF
Outputs count = 1
Value = 000000012A05F200
Output script = 4104678AFDB0FE5548271967F1A67130B7105CD6A828E03909A67962E0EA1F61DEB649F6BC3F4CEF38C4F35504E51EC112DE5C384DF7BA0B8D578A4C702B6BF11D5FAC
Lock time = 00000000
TX hash = 4A5E1E4BAAB89F3A32518A88C31BC87F618F76673E2CC77AB2127B7AFDEDA33B**

from blockchain-parser.

ragestack avatar ragestack commented on July 24, 2024

Output script = 4104678AFDB0FE5548271967F1A67130B7105CD6A828E03909A67962E0EA1F61DEB649F6BC3F4CEF38C4F35504E51EC112DE5C384DF7BA0B8D578A4C702B6BF11D5FAC

this script is an uncompressed public key that is one of the form of address representation https://en.bitcoin.it/wiki/Script

from blockchain-parser.

MohammadAsadolahi avatar MohammadAsadolahi commented on July 24, 2024

there are many transaction without addresses. what do you think to get every address from blockchain i just need compressed 34 character addresses. i can get transaction count of an address from sites if the transaction is >0 its on block chain and if it 0 it is not but api's will block you for too many reqs. and i think create a file of compressed address and binary search on it to check if its on block chain or not. but my main problem is that i don't know how to extract all addresses from bitcoin blockchain into a single file

from blockchain-parser.

MohammadAsadolahi avatar MohammadAsadolahi commented on July 24, 2024

if there will be uncompressed addresses too its ok but many transaction's has no address after running the parser on it

from blockchain-parser.

ragestack avatar ragestack commented on July 24, 2024

you should read theory first, i can not explain you all in this issue thread

from blockchain-parser.

huynh922 avatar huynh922 commented on July 24, 2024

....

from blockchain-parser.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.