Search found 8 matches

by tuseroni
Wed Aug 28, 2013 3:13 pm
Forum: Project direction
Topic: reading namecoin script
Replies: 3
Views: 3105

Re: reading namecoin script

i've been looking at it, near as i can tell the source expects there to only be 1 other thing on the stack for op_name_new so i figure i'm either reading the script wrong, it's sending it wrong, or i'm reading the source code wrong.
could you tell me if i'm reading that script right?
by tuseroni
Tue Aug 27, 2013 3:51 pm
Forum: Project direction
Topic: reading namecoin script
Replies: 3
Views: 3105

Re: reading namecoin script

or if someone knows of a resource for namecoin specific extensions to the bitcoin protocol, or at least the script section, that would be useful (the bitcoin spec has been very helpful so far)
by tuseroni
Tue Aug 27, 2013 1:49 pm
Forum: Project direction
Topic: reading namecoin script
Replies: 3
Views: 3105

reading namecoin script

so i have this script from the block chain: 52 07 64 2f 6d 75 73 69 63 08 b2 98 3d 3d 1d 62 21 2a 01 78 6d 6d 76 a9 14 35 ca 4f a6 aa 0d fd 75 92 0e d0 f4 50 7e 90 db 0b 64 c9 e4 88 ac c0 the first one seems to add the number 2 to the stack then it adds 7 characters to the stack, then it adds 8 char...
by tuseroni
Wed Aug 14, 2013 8:54 pm
Forum: Official Namecoin softwares
Topic: reading the blockchain
Replies: 9
Views: 7775

Re: reading the blockchain

well, i'm quite confused now. i am connecting to a peer, i send the message, but the peer is ignoring it. i have no idea what is wrong with the message. right not i'm just trying to get to a point where i send a message to the peer, and the peer sends me something back. would someone be willing to l...
by tuseroni
Tue Aug 13, 2013 3:22 pm
Forum: Official Namecoin softwares
Topic: reading the blockchain
Replies: 9
Views: 7775

Re: reading the blockchain

phelix: thank you, that's exactly what i needed. now i get what it does: to connect to the network it first gets your external IP from IRC (or failing that from "whatsmyip.org" or another such site) then it get's the peers from "bitseed.xf2.org","bitseed.bitcoin.org.uk", or "dnsseed.bluematt.me" (in...
by tuseroni
Mon Aug 12, 2013 3:25 pm
Forum: Official Namecoin softwares
Topic: reading the blockchain
Replies: 9
Views: 7775

Re: reading the blockchain

so far as i have found from the source code, a message on the p2p network follows this format: |____| header |____________| message |____| length |____| checksum where the header is 0xFA,0xBF,0xB5,0xDA(or 0xf9,0xbe,0xb4,0xd9 i've seen both...i'm guessing the first is bitcoin the other is namecoin) t...
by tuseroni
Mon Aug 12, 2013 1:59 pm
Forum: Official Namecoin softwares
Topic: reading the blockchain
Replies: 9
Views: 7775

Re: reading the blockchain

not quite what i meant.
i did eventually find that it creates the database "nameindexfull.dat" which from what i get is a berkeley db, so i should be able to read it easy enough, but how does it get this file. i understand it's peer to peer but what protocol does the P2P network use?
by tuseroni
Fri Aug 09, 2013 7:47 pm
Forum: Official Namecoin softwares
Topic: reading the blockchain
Replies: 9
Views: 7775

reading the blockchain

i'm working on some software to get the name/value pairs from the blocklist based on certain criteria, thing is..i have no idea how to get it or how to read it. i have been looking over the code but i can't find where this happens. perhaps someone could help point me in the right direction?