[Solved] Block by block number - with some codeing
-
Hi Friends,
Is there any way to GET block in the block explorer
by the sequence number and not just by hash ?Thanks in advance.
Roman -
No, but I’ve got some code on my github that does it.
[url=http://github.com/tsavo/link]http://github.com/tsavo/link[/url]
Look at src/linkReadTest.coffee. It goes through the blocks 1 by 1 and examines every address in every output.
-
cool, thanks.
-
Great stuff Kevlar, as usual. I’ve linked to your Github…
-
./feathercoind getblockhash 1 or 0 ( not quite shure what is correct :) )
all blocks by index simple loop until ./feathercoind getblockcount and link them to feathercoin explorer :)
-
[quote name=“slavco” post=“44427” timestamp=“1387056782”]
./feathercoind getblockhash 1 or 0 ( not quite shure what is correct :) )all blocks by index simple loop until ./feathercoind getblockcount and link them to feathercoin explorer :)
[/quote]Yeah, that’s the first step in my code.
That gives you the hash, from which you can get the raw, from which you can get the decoded.