-
Notifications
You must be signed in to change notification settings - Fork 0
Searching All Addresses
The load_filter program takes all the records from the database that Observer downloaded from S3 and stores them in a bloom filter called used_address_filter.b. This bloom filter, once full, effectively stores nearly all the bitcoin addresses that the network knows about.
load_filter is a simple program, it takes 27.5 million records from the database at a time (~1GB), stores them in a linked list, then adds them to the bloom filter. We try to minimize the memory usage by freeing nodes as we write them to the filter, so that by the time we query the database again, only the bloom filter takes up a notable amount of space.
This filter's purpose is for finding addresses that have been seen by the network. They do not necessarily unlock UTxO anymore, therefore this filter is more suited towards people who just want to research the distribution of weak addresses or something similar to that.