Pages:
Author

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

legendary
Activity: 2912
Merit: 1060
Man this is the third coincidence today. Creepy. I ran into tee for the first time earlier and now you mention it.
legendary
Activity: 1064
Merit: 1011
760930
Version 0.43.3 is out!

Fixes a minor indentation issue with large amounts, and adds output multiplexing (tee-style) support, which allows you to capture traffic both to the console and a log file (just start the tool with the -o argument for that). The log file is called "txtrace.log" and is located in the same path as the script, or in the following path if you are running the Windows executable: %AppData%\Chainsnort\0.43.3\Log.

No documentation or manual at this stage. It will come sooner or later.

Also, I didn't have much time to make progress on direct bitcoind support.
Of course, if anybody wants to help out, they are welcome to do so Smiley
full member
Activity: 208
Merit: 148
Hey, how about adding support for twitter API - ie, sending automatic tweets when certain conditions are met? That would be dope...
newbie
Activity: 24
Merit: 0
Now performing some (very early) testing of the bitcoind RPC connector...

Good luck! I'm really looking forward to the RPC version:)
legendary
Activity: 1064
Merit: 1011
760930
Now performing some (very early) testing of the bitcoind RPC connector...
legendary
Activity: 1064
Merit: 1011
760930
I have just updated the OP with some legal stuff, to cover some use cases - However it's still a draft while I work out a proper license. Feel free to ask if there are any questions.  (I'll be offline until tomorrow, though)
legendary
Activity: 1064
Merit: 1011
760930
I'm happily chainsnorting on OS X:  Smiley



Nice!

Actually installing chainsnort on OS X is really easy. Just copy and paste into a terminal:

1/ curl -o websocket.py https://raw.github.com/liris/websocket-client/master/websocket.py

2/ curl -o chainsnort.py https://gist.github.com/flatfly/8253870/raw/9733e34e469e1bcd8d0ae13565ade4eaa0490618/gistfile1.py

3/ python chainsnort.py


full member
Activity: 208
Merit: 148
I'm happily chainsnorting on OS X:  Smiley

full member
Activity: 208
Merit: 148
Colors!

Edit: Not getting colors. Also, I don't see any code for the easter egg.



I think only the executable windows version has colors and the easter egg
legendary
Activity: 2912
Merit: 1060
Colors!

Edit: Not getting colors. Also, I don't see any code for the easter egg.

legendary
Activity: 1064
Merit: 1011
760930
Windows build for 0.42.2 is ready, and as a way to thank early users, it is the color version that is currently available for free. Smiley (See link and signatures in OP)
legendary
Activity: 1064
Merit: 1011
760930
Version 0.42.2 is ready... (I just changed the version numbers so they make more sense, at least to me...)

Changes:
- Switched to fully encrypted websockets (WSS protocol)
- Minor code cleanup

Source code only for now - Windows build will follow soon.
legendary
Activity: 1064
Merit: 1011
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.

2.7. I had to grab the websocket-client package, didn't work without it. Maybe you should update your docs...

May I suggest sticking the script on github? Using copy and paste is really annoying, especially with python due to the indentation problems.

Thanks for the help!

I've just made a quick gist with the latest version.
When I have more time, I'll put up a proper little web page for it.
hero member
Activity: 517
Merit: 501
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.

2.7. I had to grab the websocket-client package, didn't work without it. Maybe you should update your docs...

May I suggest sticking the script on github? Using copy and paste is really annoying, especially with python due to the indentation problems.

Thanks for the help!
member
Activity: 102
Merit: 10
It worked, thank You so much!
legendary
Activity: 1064
Merit: 1011
760930
Hi I am trying to use Your tool, and I also have issue with

Code:
ubuntu@ip-172-31-47-182:~/bot$ sudo python first.py
chainsnort 0.415:   51406 new transactions in the last 24 hours  -  0.59 tx/sec

AttributeError: 'module' object has no attribute 'create_connection'
ubuntu@ip-172-31-47-182:~/bot$

I installed websocket-client

Code:
ubuntu@ip-172-31-47-182:~/bot$ sudo easy_install websocket-client
Searching for websocket-client
Reading http://pypi.python.org/simple/websocket-client/
Best match: websocket-client 0.12.0
Downloading https://pypi.python.org/packages/source/w/websocket-client/websocket-client-0.12.0.tar.gz#md5=15bf7acb9caec87144d39ffcff765966
Processing websocket-client-0.12.0.tar.gz
Running websocket-client-0.12.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-D9v0Tt/websocket-client-0.12.0/egg-dist-tmp-QruTjI
zip_safe flag not set; analyzing archive contents...
Adding websocket-client 0.12.0 to easy-install.pth file
Installing wsdump.py script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/websocket_client-0.12.0-py2.7.egg
Processing dependencies for websocket-client
Finished processing dependencies for websocket-client

it doesnt seems to work properly

Code:
ubuntu@ip-172-31-47-182:~/bot$ python -c 'import websocket; print websocket.__file__'
/usr/local/lib/python2.7/dist-packages/websocket-0.2.1-py2.7.egg/websocket/__init__.pyc

ubuntu@ip-172-31-47-182:~/bot$ python -c 'import websocket; print websocket.create_connection'
Traceback (most recent call last):
  File "", line 1, in
AttributeError: 'module' object has no attribute 'create_connection'

Anyone has some kind of solution?


Try using wget instead of pip for a quick and dirty way to fix the issue:

Code:
wget https://raw.github.com/liris/websocket-client/master/websocket.py
member
Activity: 102
Merit: 10
Hi I am trying to use Your tool, and I also have issue with

Code:
ubuntu@ip-172-31-47-182:~/bot$ sudo python first.py
chainsnort 0.415:   51406 new transactions in the last 24 hours  -  0.59 tx/sec

AttributeError: 'module' object has no attribute 'create_connection'
ubuntu@ip-172-31-47-182:~/bot$

I installed websocket-client

Code:
ubuntu@ip-172-31-47-182:~/bot$ sudo easy_install websocket-client
Searching for websocket-client
Reading http://pypi.python.org/simple/websocket-client/
Best match: websocket-client 0.12.0
Downloading https://pypi.python.org/packages/source/w/websocket-client/websocket-client-0.12.0.tar.gz#md5=15bf7acb9caec87144d39ffcff765966
Processing websocket-client-0.12.0.tar.gz
Running websocket-client-0.12.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-D9v0Tt/websocket-client-0.12.0/egg-dist-tmp-QruTjI
zip_safe flag not set; analyzing archive contents...
Adding websocket-client 0.12.0 to easy-install.pth file
Installing wsdump.py script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/websocket_client-0.12.0-py2.7.egg
Processing dependencies for websocket-client
Finished processing dependencies for websocket-client

it doesnt seems to work properly

Code:
ubuntu@ip-172-31-47-182:~/bot$ python -c 'import websocket; print websocket.__file__'
/usr/local/lib/python2.7/dist-packages/websocket-0.2.1-py2.7.egg/websocket/__init__.pyc

ubuntu@ip-172-31-47-182:~/bot$ python -c 'import websocket; print websocket.create_connection'
Traceback (most recent call last):
  File "", line 1, in
AttributeError: 'module' object has no attribute 'create_connection'

Anyone has some kind of solution?
legendary
Activity: 1064
Merit: 1011
760930
What would it take, to get you to either do a gist, or put this on github proper, to make it easy to stay up to date?

I might put up a gist soon, but it could take a little while, as I have to deal with a serious issue right now, which is taking up a lot of mental energy - I prefer not to go into detail. In the meantime, please watch or subscribe to this thread for updates.  

Thanks!
newbie
Activity: 14
Merit: 0
What would it take, to get you to either do a gist, or put this on github proper, to make it easy to stay up to date?
legendary
Activity: 1064
Merit: 1011
760930
Version 0.415 is now available.

Changes:
- millisecond display for timestamps
- switched to UTC format for timestamps (will make that an config option soon)
- fixed transaction density calculation on Linux / OS X

Pages:
Jump to: