BlockSci
BlockSci copied to clipboard
filtering with cutomized boolean operation
Hello, I have a question about the Python fluent Interface. Say if I want to filter out a block's input address that is in a set of candidate addresses, I would like to use the following code:
candidate_set = set(some addresses)
chain[500000].inputs.address.where( lambda addr: addr in candidate_set )
This does not seem to work. I wonder if the filtering function in blocksci can support customized boolean operation. Thanks.