samourai-wallet / boltzmann Goto Github PK
View Code? Open in Web Editor NEWA python script computing the entropy of Bitcoin transactions and the linkability of their inputs and outputs.
License: Other
A python script computing the entropy of Bitcoin transactions and the linkability of their inputs and outputs.
License: Other
$ python3 ludwig.py --txids=8e56317360a548e8ef28ec475878ef70d1371bee3526c017ac22ad61ae5740b8
--- 8e56317360a548e8ef28ec475878ef70d1371bee3526c017ac22ad61ae5740b8 -------------------------------------
Traceback (most recent call last):
File "ludwig.py", line 142, in <module>
main(txids, options, max_duration, max_txos, max_cj_intrafees_ratio)
File "ludwig.py", line 86, in main
(mat_lnk, nb_cmbn, inputs, outputs, fees, intrafees) = process_tx(tx, options, max_duration, max_txos, max_cj_intrafees_ratio)
File "/usr/local/lib/python3.6/site-packages/boltzmann-0.0.1-py3.6.egg/boltzmann/utils/tx_processor.py", line 71, in process_tx
(mat_lnk, nb_cmbn, txo_ins, txo_outs) = linker.process(linked_ins+linked_outs, options, intrafees)
File "/usr/local/lib/python3.6/site-packages/boltzmann-0.0.1-py3.6.egg/boltzmann/linker/txos_linker.py", line 134, in process
self._prepare_data()
File "/usr/local/lib/python3.6/site-packages/boltzmann-0.0.1-py3.6.egg/boltzmann/linker/txos_linker.py", line 189, in _prepare_data
self._all_in_agg_val = self._prepare_txos(self.inputs)
File "/usr/local/lib/python3.6/site-packages/boltzmann-0.0.1-py3.6.egg/boltzmann/linker/txos_linker.py", line 226, in _prepare_txos
all_agg[j, :] = np.tile(tmp, 2**(expnt-1) / two_exp_j)
File "/usr/local/lib/python3.6/site-packages/numpy-1.12.0-py3.6-macosx-10.11-x86_64.egg/numpy/lib/shape_base.py", line 881, in tile
return c.reshape(shape_out)
TypeError: 'float' object cannot be interpreted as an integer
Any suggestions?
Hello,
This looks like very interesting work. From what I gather from the gists, the aim is to make transaction privacy analysis open source and available to the general public. I'm interested in contributing and therefore have the following questions:
Thank you for your attention.
E.g : raw multisigs, segwit, etc
May be solved by using the raw scriptpubkey when an address isn't returned by the api.
Have you thought about using it to reduce the complexity from 2^N to 2^N/2?
If you're interested, I'll volunteer to make a PR adding a bitcoind rpc wrapper.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.