Sort bitcoin addresses

326 views
Skip to first unread message

Anonymous

unread,
Jan 15, 2017, 5:59:20 AM1/15/17
to golang-nuts
Hello everyone

I modified the following code: https://github.com/saracen/directory.io/blob/master/directory.go

Here is the total number of pages for a display of 128 addresses: 904625697166532776746648320380374280103671755200316906558262375061821325312

I modified the code to display only the addresses starting with 1L (compressed and uncompressed addresses) and here is the contents of the first page:

Page 1 out of 904625697166532776746648320380374280103671755200316906558262375061821325312
Previous | Next

Private Key Uncompressed & Compressed Address
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAvUcVfH 1LagHJk2FyCV2VzrNHVqg3gYG4TSYwDV4m
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreC4p2u5o 1LWsLyY2j2mPtYcG9yG2bDFwTWryiJL6sp
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreCXbRta3 1LwjY8QPCW46jXn79eeN5SfZDsYNB9qDj1
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreCw2uZTA 1LWWyaRPtU7PHHEN67Zh8ZhmZyAoaRubcw
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreDktNmBc 1LNLqCerQQ6j9iKs39VP6vNJHSpzNrFKJj
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreDwUb9yY 1LYxTHbQLwmeTFa2dpYUFWwYZqoeJwAQmt
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreDwUb9yY 1Lh3oGDA7bxB7pQdJtgf29G3pf6rvxgNFU
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreFjUrh8k 1LxerPZSoPQAH4iJFHJQPpbiCCsZzYpzQD
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreG7q5WCf 1LZ2gdtUzW9eUUEUXP4sGSHnsaCNYHuor3
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreGhAGxmP 1L6qp71nqFbTTFTQYGQeLg94AkaeYJW1J
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreGv1DVzQ 1LPLZnAzj34AgehA56DvDahuyxinZgeM3e
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreKeQXCm1 1L2YxutDBfZ33e4mM7gxoDo7t8rj9UxB8z
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreMEFkFWC 1LtUqEjvsTh4B5GtDmBV8upuRD6QcRTeCx
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreMQiR4w7 1LutqRAJkLqS9J81SfrPySJNnBT2cBdvEt
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreNXqEJTk 1LpPxoDsckedWhBHppsbJciGSFH55oSUb2
+ 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsrePWp5Mt9 1LvbRi7aCjENKCzDMTsaoZ8sKsg1B9CqLQ

Previous | Next

As we can see the number of pages does not decrease and I would like to know how to display the first 128 addresses starting with 1L and decrease the number of pages

thank you.

Anonymous

unread,
Jan 15, 2017, 3:13:33 PM1/15/17
to golang-nuts
What i mean is that i would like to recalculate this number so that it only shows me the total of pages for addresses starting with 1L

Stas Maksimov

unread,
Jan 15, 2017, 7:55:13 PM1/15/17
to Anonymous, golang-nuts
Seemingly the are all starting with 1L.

S.

On Sun, 15 Jan 2017 at 20:13 Anonymous <angerf...@gmail.com> wrote:
What i mean is that i would like to recalculate this number so that it only shows me the total of pages for addresses starting with 1L

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stas Maksimov

unread,
Jan 15, 2017, 7:55:27 PM1/15/17
to Anonymous, golang-nuts
I'm not really sure what you are asking here. Why the number of pages should decrease at all? The number of pages in this app is total number of bitcoins divided by 128 results per page. Granted it's an incredibly big number, but it shouldn't change as you travel between pages.

All addresses seem to be starting with a 1, so not really sure about this one either.

Thanks,
Stas.



--

Anonymous

unread,
Jan 16, 2017, 3:56:51 AM1/16/17
to golang-nuts
I would like to see only the addresses appear in 1L without any holes or 128 per page
Reply all
Reply to author
Forward
0 new messages