Bitcoin Forum
May 08, 2024, 11:37:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: visualise trustlists  (Read 146 times)
mocacinno (OP)
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
March 22, 2018, 10:58:06 AM
Last edit: March 22, 2018, 01:05:57 PM by mocacinno
Merited by dbshck (2), o_e_l_e_o (2), kiemnhieutien (1)
 #1

Just a quick meta script i wrote and wanted so share just in case somebody else ever needs it... It's a script that runs on my local PC, so i didn't make the script safe, readable, reusable or adaptable... It's just a quick-and-dirty script to run on a private machine.

Demo of my own trustlist, 2 levels deep


Why did i write the script? I'm tracking an althoarder who uses an army of alts to bump his own threads, self-vouch, discredit competitors, backstab, give himself positive trust,... while at the same time preaching against everything he's actually doing himself. This dude made a huge effort not to post any identifyable information ever, but he messed up by putting a lot of "untrustable" users in his trustlist (alts), giving +ve to alts, giving -ve to "enemies", removing "enemies" from his trustlist... So i needed a tool to visualise a trust network... Since it didn't existed, i wrote one myself

In order to use this one, you'll need
  • A mysql database
  • A pc/server running python 2.7
  • R

I'm going to skip some of the most scripts (just do it yourself), i'll just provide a little walktrough and focus on the most difficult script
  • download the latest trust dump (https://www.bitcointalk.org/trust.txt.xz)
  • parse the textfile, import the dump into a mysql table...*  the truster goes into "username", the person being trusted in "trustee" and if a person is actually removed from somebody's trustlist (by adding ~{username}), the relation_positive = 0
  • run the script **
  • open r
  • source("path_output_pythonscript/trustlistnetwork.r")
  • my_plot.png will be written to c:\tmp

*
Code:
+-------------------+--------------+------+-----+---------+----------------+
| Field             | Type         | Null | Key | Default | Extra          |
+-------------------+--------------+------+-----+---------+----------------+
| id                | int(6)       | NO   | PRI | NULL    | auto_increment |
| username          | varchar(128) | YES  | MUL | NULL    |                |
| relation_positive | int(1)       | YES  | MUL | NULL    |                |
| trustee           | varchar(128) | YES  | MUL | NULL    |                |
+-------------------+--------------+------+-----+---------+----------------+

**
bitcointalk is not allowing me to post the script... Cloudflare again... you can find the script here: https://www.mocacinno.com/scripts/trustlistnetwork.txt

EDIT: I release this script as an open source script, feel free to download it, adapt it, share it with others... As long as everybody understands that the script waswritten for private use on a private computer, and that i take no responsability for anything that might happen if you run this script Smiley

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
1715168237
Hero Member
*
Offline Offline

Posts: 1715168237

View Profile Personal Message (Offline)

Ignore
1715168237
Reply with quote  #2

1715168237
Report to moderator
1715168237
Hero Member
*
Offline Offline

Posts: 1715168237

View Profile Personal Message (Offline)

Ignore
1715168237
Reply with quote  #2

1715168237
Report to moderator
1715168237
Hero Member
*
Offline Offline

Posts: 1715168237

View Profile Personal Message (Offline)

Ignore
1715168237
Reply with quote  #2

1715168237
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715168237
Hero Member
*
Offline Offline

Posts: 1715168237

View Profile Personal Message (Offline)

Ignore
1715168237
Reply with quote  #2

1715168237
Report to moderator
1715168237
Hero Member
*
Offline Offline

Posts: 1715168237

View Profile Personal Message (Offline)

Ignore
1715168237
Reply with quote  #2

1715168237
Report to moderator
1715168237
Hero Member
*
Offline Offline

Posts: 1715168237

View Profile Personal Message (Offline)

Ignore
1715168237
Reply with quote  #2

1715168237
Report to moderator
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
March 22, 2018, 11:35:54 AM
 #2

This would also be very useful for user "Annon001" to use in his thread regarding the Default Trust network.

Thanks for sharing.
Pages: [1]
  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!