dhlbusiness (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
September 30, 2017, 02:47:17 AM |
|
I have a issue, I am generating millions of addresses with vanitygen, I have 55 thousand bitcoin addresses that I have saved in my computer and I want all my vanity addresses been checked if collide with any of my 55k addresses. for example: money.txt is my vanitygen addresses cash.txt is the addresses I have with bitcoins in it I need all addresses in money.txt compare with all addresses in cash,txt to see if found any collision. How can I do it?
|
|
|
|
|
|
|
|
|
Every time a block is mined, a certain amount of BTC (called the
subsidy) is created out of thin air and given to the miner. The
subsidy halves every four years and will reach 0 in about 130 years.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
xhomerx10
Legendary
Offline
Activity: 3836
Merit: 8096
|
|
September 30, 2017, 02:56:16 AM |
|
I'll do it for you right now manually. There are no collisions.
|
|
|
|
aleksej996
Sr. Member
Offline
Activity: 490
Merit: 389
Do not trust the government
|
|
September 30, 2017, 08:53:59 PM |
|
There are many topics about how unlikely it is to get an address collision. This is necessary for safety of Bitcoin, as if you could get a collision for your address, anyone could, which would make Bitcoin useless. So don't bother, there are no collisions if you generated the addresses correctly. There are quadrillion quadrillions of quadrillion quadrillions of addresses. 55k is nothing compared to that.
|
|
|
|
BenOnceAgain
Member
Offline
Activity: 208
Merit: 84
🌐 www.btric.org 🌐
|
|
September 30, 2017, 09:21:54 PM |
|
I have a issue, I am generating millions of addresses with vanitygen, I have 55 thousand bitcoin addresses that I have saved in my computer and I want all my vanity addresses been checked if collide with any of my 55k addresses. for example: money.txt is my vanitygen addresses cash.txt is the addresses I have with bitcoins in it I need all addresses in money.txt compare with all addresses in cash,txt to see if found any collision. How can I do it?
Millions of addresses? Now that's some vanity, lol. The odds of an address collision are somewhere up there with the odds of you being teleported to Mars and back.
|
|
|
|
cr1776
Legendary
Offline
Activity: 4032
Merit: 1301
|
|
September 30, 2017, 10:57:53 PM Last edit: October 01, 2017, 02:02:32 AM by cr1776 |
|
I have a issue, I am generating millions of addresses with vanitygen, I have 55 thousand bitcoin addresses that I have saved in my computer and I want all my vanity addresses been checked if collide with any of my 55k addresses. for example: money.txt is my vanitygen addresses cash.txt is the addresses I have with bitcoins in it I need all addresses in money.txt compare with all addresses in cash,txt to see if found any collision. How can I do it?
I liked xhomerx10’s answer the best, but... Use comm or grep or fgrep. E.g something like: grep -F -x -f file1 file2
|
|
|
|
DannyHamilton
Legendary
Offline
Activity: 3388
Merit: 4653
|
|
October 01, 2017, 08:18:54 AM |
|
I have a issue, I am generating millions of addresses with vanitygen, I have 55 thousand bitcoin addresses that I have saved in my computer and I want all my vanity addresses been checked if collide with any of my 55k addresses. for example: money.txt is my vanitygen addresses cash.txt is the addresses I have with bitcoins in it I need all addresses in money.txt compare with all addresses in cash,txt to see if found any collision. How can I do it?
I liked xhomerx10’s answer the best, but... Use comm or grep or fgrep. E.g something like: grep -F -x -f file1 file2 Sort cash.txt before you save it. Write a simple computer program that performs something like a binary search of the sorted data. It will be faster, and more customizable than grep.
|
|
|
|
mrayazgul
|
|
October 02, 2017, 03:54:11 PM |
|
I have a issue, I am generating millions of addresses with vanitygen, I have 55 thousand bitcoin addresses that I have saved in my computer and I want all my vanity addresses been checked if collide with any of my 55k addresses. for example: money.txt is my vanitygen addresses cash.txt is the addresses I have with bitcoins in it I need all addresses in money.txt compare with all addresses in cash,txt to see if found any collision. How can I do it?
For what purpose? Is this to see how it can go with a larger file and to see if it works? If you are deep enough to know that there may be a collision, don't you know that there is nearly a zero chance with only a couple billions addresses?
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3304
Merit: 16654
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
October 03, 2017, 11:16:48 AM |
|
Sort cash.txt before you save it. Write a simple computer program that performs something like a binary search of the sorted data. It will be faster, and more customizable than grep. Even faster (on any Linux): cat money.txt cash.txt | wc -l # this tells you how many addresses you have cat money.txt cash.txt | sort | uniq | wc -l # this tells you how many unique addresses you have Both numbers will be the same. Even faster: cat money.txt cash.txt | sort | uniq -d # this just gives you all duplicates It'll also show if either one of the txt-files has duplicates on its own.
|
|
|
|
|