Commit Graph

4280 Commits

Author SHA1 Message Date
Miguel Freitas
82ea843b46 make block signature compatible with the rest 2013-08-09 10:14:43 -03:00
Miguel Freitas
396b46914e convert encryption api to use std::string 2013-08-09 07:41:46 -03:00
Miguel Freitas
f6639dd11b include implementation for ECIES (ECC + AES + SHA) for asymetric encryption 2013-08-09 00:12:16 -03:00
Miguel Freitas
07749a22e2 improve getData reply debug message 2013-08-08 14:32:59 -03:00
Miguel Freitas
2aa71205d4 possiblyNeighbor is authoritative for false, so we may trust it to NOT store putData value.
someone might be trying to attack this resource by storing value into non-final nodes.
2013-08-08 13:55:45 -03:00
Miguel Freitas
4154a37a14 add support to detect when our node is neighbor of a special resource (eg. torrent tracker) 2013-08-07 23:17:09 -03:00
Miguel Freitas
a35cdef738 dht_reply_data_done_alert to unlock client waiting for data 2013-08-07 22:47:34 -03:00
Miguel Freitas
3a1d772643 improve dht node added from bitcoin network peers 2013-08-07 20:20:03 -03:00
Miguel Freitas
dea237d2ed implement dht_get_data_alert to detect when we are neighbor of a certain request 2013-08-07 17:40:16 -03:00
Miguel Freitas
8ed88a6eb3 dhtget/dhtput threadsafe 2013-08-07 08:43:50 -03:00
Miguel Freitas
dc36efaa1e convert entry to json 2013-08-06 23:30:09 -03:00
Miguel Freitas
f55f1cceb9 return dhtget data to json 2013-08-06 20:02:45 -03:00
Miguel Freitas
621812c69e improve parameter checking in dhtput 2013-08-06 18:26:53 -03:00
Miguel Freitas
8a4a9ede75 very simple test script to start and do rpc/json commands 2013-08-06 16:42:43 -03:00
Miguel Freitas
9c52adbe25 compare contents (v) before adding multi valued key 2013-08-06 00:08:10 -03:00
Miguel Freitas
830a02c009 dht get/put kind of working. with json interface. amazing. 2013-08-05 22:33:38 -03:00
Miguel Freitas
b9ebeb9675 try to bootstrap dht nodes from bitcoin network 2013-08-04 22:59:20 -03:00
Miguel Freitas
36e2230b58 exporting get/put dht data to upper levels. completely untested. 2013-08-04 22:10:07 -03:00
Miguel Freitas
e46256a2f5 separate getData and putData 2013-08-04 21:16:09 -03:00
Miguel Freitas
ed718aa283 draft of putData api to the dht network 2013-08-04 21:06:42 -03:00
Miguel Freitas
6a1d35a582 adjust dht stored obj size, print dht get results in test_dht 2013-08-04 18:53:43 -03:00
Miguel Freitas
4c92f24620 fixes to dht server and test_dht 2013-08-04 18:26:45 -03:00
Miguel Freitas
63a3d94843 fix test_dht.cpp 2013-08-04 16:34:17 -03:00
Miguel Freitas
0484b9b6d2 implement single put seq increasing verification. untested as well. 2013-08-04 16:23:55 -03:00
Miguel Freitas
8b3368da1f draft for dht putdata 2013-08-04 16:16:36 -03:00
Miguel Freitas
8b6edd3c79 draft of dht get implementation (untested) 2013-08-04 12:58:50 -03:00
Miguel Freitas
78e97ac9dc use the same message magic everywhere (to hash) 2013-08-04 11:36:44 -03:00
Miguel Freitas
2bd0f7de12 first draft of transversal algo to get data from dht 2013-08-04 00:17:52 -03:00
Miguel Freitas
0f91f9e867 proper libtorrent stop, session save 2013-08-02 00:43:04 -03:00
Miguel Freitas
187904d1e8 create new twister.cpp with libtorrent initialization 2013-08-01 20:05:00 -03:00
Miguel Freitas
71e0da6705 initialize libtorrent session with external ip set 2013-08-01 17:05:37 -03:00
Miguel Freitas
fb00bb154e first hack compiling bitcoind (twister) + libtorrent 2013-07-31 09:05:12 -03:00
Miguel Freitas
8f196639ae just comments 2013-07-31 09:04:46 -03:00
Miguel Freitas
a28de30fce id(ip) is now enforced 2013-07-30 19:08:55 -03:00
Miguel Freitas
d96f8814d3 undo reordering change that broke compilation 2013-07-29 21:12:19 -03:00
Miguel Freitas
07e0f50945 change bittorrent protocol string 2013-07-29 19:23:10 -03:00
Miguel Freitas
b59f3749a1 enforce ID x external IP verification 2013-07-29 15:46:59 -03:00
Miguel Freitas
a261f05bdf gitignore 2013-07-29 15:39:16 -03:00
Miguel Freitas
330361c748 remove autoconf generated files from git 2013-07-29 15:34:36 -03:00
Miguel Freitas
31b6648995 shouldn't be git tracked 2013-07-29 15:30:47 -03:00
Miguel Freitas
a1b44a6bb4 incompatible dht change 3: get_peers, find_node, info_hash => getPeers, findNode, infoHash 2013-07-29 15:27:34 -03:00
Miguel Freitas
7275eb698c incompatible dht change2: "a" => "x" 2013-07-29 15:17:18 -03:00
Miguel Freitas
5b98b52901 incompatible dht change: "y" => "z" 2013-07-29 15:13:50 -03:00
Miguel Freitas
b8b2302d59 added libtorrent (svn rev 8690) 2013-07-28 20:41:06 -03:00
Miguel Freitas
78ba2a5609 another big wallet cleanup 2013-07-25 12:06:56 -03:00
Miguel Freitas
9946d6ed72 mining fixes: add salt to instance and use correct username for signing 2013-07-25 12:06:18 -03:00
Miguel Freitas
f2699c4753 rpcwallet cleanups 2013-07-25 11:26:26 -03:00
Miguel Freitas
927aad13a5 send transation of a new user created in wallet 2013-07-25 10:45:42 -03:00
Miguel Freitas
ad712d5006 fix wrongly erasing of indextx with checklevel==3 2013-07-25 10:43:06 -03:00
Miguel Freitas
f764674865 create/list users in wallet 2013-07-25 09:36:57 -03:00