Pages:
Author

Topic: [ANN] chainsnort (live transaction monitoring and fingerprinting tool) - page 6. (Read 24569 times)

legendary
Activity: 1092
Merit: 1016
760930
"Pip install websocket" should grab it, IIRC...
https://pypi.python.org/pypi/websocket-client/

"pip install websocket-client" <-- the client part might be actually important! (otherwise you'd get https://pypi.python.org/pypi/websocket/ )

Thanks for pointing this out, https://pypi.python.org/pypi/websocket-client/ is indeed the correct one.
legendary
Activity: 2618
Merit: 1007
"Pip install websocket" should grab it, IIRC...
https://pypi.python.org/pypi/websocket-client/

"pip install websocket-client" <-- the client part might be actually important! (otherwise you'd get https://pypi.python.org/pypi/websocket/ )
legendary
Activity: 1092
Merit: 1016
760930
Which version of websocket do you use? Somehow my install says

Code:
AttributeError: 'module' object has no attribute 'create_connection'

Installed using pip

This should be the correct library: https://github.com/liris/websocket-client
"Pip install websocket" should grab it, IIRC...
Which version of Python do you have?
2.7 would work best.

legendary
Activity: 1092
Merit: 1016
760930
Great work, great functionality from a small amount of code. Thank you!

(I'd also like to see Bitcoin RPC usage, it's a little more complex on the user's end but it's more malleable! https://en.bitcoin.it/wiki/API_reference_(JSON-RPC))

Thanks, always love this kind of feedback! Smiley
This started out as a quick hack to teach myself the joys of JSON, so I'm really glad to see that people like the result.

As for bitcoin RPC support, I'd really want to add that as soon as possible, but I will have less
free time as of tomorrow, so it might take a while, so if someone wants to have a go at it... Smiley
Which reminds me, I should probably set up a proper github repo.
hero member
Activity: 518
Merit: 502
Which version of websocket do you use? Somehow my install says

Code:
AttributeError: 'module' object has no attribute 'create_connection'

Installed using pip
legendary
Activity: 1092
Merit: 1016
760930
I'm getting:

Quote
File "chainsnort.py", line 36
    print '{:12.8f}'.format(feepaid) +
                                                ^
SyntaxError: invalid syntax

Help?

My bad, copy paste issues! (It was a non-final version that was mistakenly posted)
I've fixed the code in the OP, can you try again and let me know if that helps?

If it doesn't, please post your OS and Python version.
legendary
Activity: 2912
Merit: 1060
I'm getting:

Quote
File "chainsnort.py", line 36
    print '{:12.8f}'.format(feepaid) +
                                                ^
SyntaxError: invalid syntax

Help?

Might be python 2.6/7
full member
Activity: 150
Merit: 108
I'm getting:

Quote
File "chainsnort.py", line 36
    print '{:12.8f}'.format(feepaid) +
                                                ^
SyntaxError: invalid syntax

Help?
legendary
Activity: 1092
Merit: 1016
760930
Very cool stuff. Also thanks for the code !

Thanks, glad you like it. Smiley
legendary
Activity: 1092
Merit: 1016
760930
Please move away from trusting blockchain.info and run this against bitcoind RPC... the added benefit would be that it could be easier to do this for altcoins too.

Support for bitcoind RPC is already on my to-do list.
newbie
Activity: 38
Merit: 0
Very cool stuff. Also thanks for the code !
legendary
Activity: 2618
Merit: 1007
Please move away from trusting blockchain.info and run this against bitcoind RPC... the added benefit would be that it could be easier to do this for altcoins too.
legendary
Activity: 1092
Merit: 1016
760930
OK, version 0.410 is out, which also detects "new block" events, and has a bugfix in the windows build.

Also, you will be treated to a colorful ASCII easter egg (in the windows build only, for now), if chainsnort sees a tip being sent to this special tip jar: 1111127SpvabYpoeDoiz5L7QPkfiSh2Q  Smiley
The easter egg changes depending on the size of the transaction Smiley

I also have a separate edition with some features that are useful for forensic and technical investigation purposes. I'm not releasing it at the moment but PM me if interested.

Download Link

SHA1: 082689acee8baef4eb45c67609e096f48d2350b8

GPG signature:

Code:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)

iEYEABECAAYFAlLBRvkACgkQ0dQqIfkZdf45FACfRQJjxxYo55FkPE4g6y8su9z8
GrcAn0Qyddc8V4h881wK06lLNIoYWF0v
=31vC
-----END PGP SIGNATURE-----

legendary
Activity: 1092
Merit: 1016
760930
Thanks for the donation!
OK, I have decided to rename the tool to "chainsnort". My geeky friends like the new name better!
legendary
Activity: 1274
Merit: 1000
Personal text my ass....
Just sent you a few bucks as a donation. All I can afford these days.

Cool little utility. And when I see amounts like 300+ being traded makes me cringe! Big time money going through.

legendary
Activity: 1092
Merit: 1016
760930
Here it is...
And for a limited amount of time, it is the color version that is freely available. Wink

Of course standard security precautions apply, as always with Windows software.
(More detailed warning to be added)

Link: Download (2MB)

SHA1:1bae78311549deea03e8f1176d3315d4b22239ff

GPG signature:

Code:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)

iEYEABECAAYFAlK9SvMACgkQ0dQqIfkZdf6ZegCgsmR5e76DxWMvYvTnNtR6TcLi
fcgAnAs0h4R6JjZbxMYi2tTQyXjSLbOl
=M0v5
-----END PGP SIGNATURE-----

legendary
Activity: 2912
Merit: 1060
Cant wait for windows but then again, security risk
legendary
Activity: 1092
Merit: 1016
760930
Version 0.4 is now out.

It is almost a complete rewrite, due to the discovery of a serious bug in the blockchain.info JSON API.
The best alternative was to switch to the websocket API, which offers better performance and reliability for this type of usage.

The code is simpler and more efficient, but the websocket library is now a requirement. (sudo pip install websocket)

To make this less of a pain to Windows users, I plan to provide signed precompiled binaries soon.
legendary
Activity: 1092
Merit: 1016
760930
Cool

Still no ssl tho

After some more testing, I have now enabled SSL in version 0.387 (I just added the extra 's' actually.)
It works just fine as long as you have a version of Python compiled against OpenSSL - which is usually the case.
legendary
Activity: 2912
Merit: 1060
Cool

Still no ssl tho
Pages:
Jump to: