BlockSci icon indicating copy to clipboard operation
BlockSci copied to clipboard

filtering with cutomized boolean operation

Open yya518 opened this issue 4 years ago • 0 comments

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.

yya518 avatar Oct 23 '20 02:10 yya518