Bitcoin Forum
May 04, 2024, 03:28:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
Author Topic: [ANN] chainsnort (live transaction monitoring and fingerprinting tool)  (Read 24511 times)
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 02, 2014, 12:28:10 AM
 #41

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.

1714793299
Hero Member
*
Offline Offline

Posts: 1714793299

View Profile Personal Message (Offline)

Ignore
1714793299
Reply with quote  #2

1714793299
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714793299
Hero Member
*
Offline Offline

Posts: 1714793299

View Profile Personal Message (Offline)

Ignore
1714793299
Reply with quote  #2

1714793299
Report to moderator
1714793299
Hero Member
*
Offline Offline

Posts: 1714793299

View Profile Personal Message (Offline)

Ignore
1714793299
Reply with quote  #2

1714793299
Report to moderator
1714793299
Hero Member
*
Offline Offline

Posts: 1714793299

View Profile Personal Message (Offline)

Ignore
1714793299
Reply with quote  #2

1714793299
Report to moderator
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
January 02, 2014, 12:31:28 AM
 #42

"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/ )

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 02, 2014, 09:04:07 AM
 #43

"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.
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 02, 2014, 09:06:46 AM
Last edit: January 02, 2014, 09:28:49 AM by flatfly
 #44

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

zeryl
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
January 02, 2014, 05:56:37 PM
 #45

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?
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 02, 2014, 07:35:55 PM
Last edit: January 02, 2014, 09:08:17 PM by flatfly
 #46

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!
Praeconium
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile
January 02, 2014, 08:39:58 PM
 #47

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 "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'create_connection'

Anyone has some kind of solution?
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 02, 2014, 09:00:15 PM
 #48

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 "<string>", line 1, in <module>
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
Praeconium
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile
January 03, 2014, 12:51:27 AM
 #49

It worked, thank You so much!
arnuschky
Hero Member
*****
Offline Offline

Activity: 517
Merit: 501


View Profile
January 03, 2014, 06:43:15 PM
 #50

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!
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 04, 2014, 10:28:26 AM
 #51

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.
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 04, 2014, 10:30:27 AM
Last edit: January 05, 2014, 11:29:35 AM by flatfly
 #52

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.
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 04, 2014, 08:36:03 PM
Last edit: January 05, 2014, 11:32:11 AM by flatfly
 #53

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)
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 05, 2014, 11:27:12 AM
 #54

Colors!

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


RoxxR
Full Member
***
Offline Offline

Activity: 208
Merit: 148


View Profile
January 05, 2014, 02:28:34 PM
Last edit: January 05, 2014, 05:06:24 PM by RoxxR
 #55

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
RoxxR
Full Member
***
Offline Offline

Activity: 208
Merit: 148


View Profile
January 05, 2014, 05:06:45 PM
 #56

I'm happily chainsnorting on OS X:  Smiley

flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 05, 2014, 08:26:39 PM
 #57

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


flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 05, 2014, 08:41:03 PM
 #58

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)
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 06, 2014, 09:30:17 PM
 #59

Now performing some (very early) testing of the bitcoind RPC connector...
robanswe
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
January 06, 2014, 10:51:56 PM
 #60

Now performing some (very early) testing of the bitcoind RPC connector...

Good luck! I'm really looking forward to the RPC version:)
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!