Commit graph

70 commits

Author SHA1 Message Date
Neil Booth
a47881d72b Move the verified and unverified txs to the wallet. 2015-05-07 23:54:39 +09:00
Neil Booth
79de458101 Preparation for moving the set of verified and unverified txs to the wallet.
The verifier will retain responsibility for verification, but will no longer
hold the transaction sets itself.

Change requires_fee to take a wallet.
Add new function add_unverified_tx()
Move get_confirmations() to the wallet from the verifier.
2015-05-07 09:21:08 +09:00
ThomasV
b2a13dbd9c remove unused imports 2015-03-14 09:37:56 +01:00
ThomasV
5b8588ee90 rename spv class, use own print_error 2015-03-14 09:20:27 +01:00
ThomasV
a4cb70649d fix synchronizer hanging when not connected. 2015-03-14 08:43:43 +01:00
ThomasV
72688a5cfa clean implementation of daemon threads 2015-03-13 23:04:29 +01:00
ThomasV
e389745491 remove appdata_dir and data_dir 2015-02-18 18:48:32 +01:00
ThomasV
247f4944a6 do not store merkle root before verification succeeded. keep it in requested_merkle for the session 2014-08-15 23:30:55 +02:00
ThomasV
4f56cda0c3 do not stop thread if a tx is not verified 2014-08-15 08:35:00 +02:00
ThomasV
47b71eebfb shorter timeout: verifier too 2014-07-29 12:26:16 +02:00
ThomasV
fb0574c5a0 fix callbacks 2014-07-28 07:53:02 +02:00
ThomasV
37127e563b fix #750 2014-07-05 03:57:05 +02:00
ThomasV
b4bed1ccaa remove blockchain object from verifier 2014-03-10 20:53:05 +01:00
ThomasV
2321cb9bb3 print less debug messages 2013-11-11 16:23:17 +01:00
ThomasV
1f13b2f4f3 network.send method 2013-11-11 16:18:40 +01:00
thomasv
b75f8d795a new command: getrawtransaction 2013-09-15 11:19:48 +02:00
ThomasV
907dca6eb9 simplify interface: use callbacks 2013-09-12 08:41:27 +02:00
thomasv
74735bd64e minor fixes 2013-09-10 16:13:30 +02:00
thomasv
047e4b3478 move callbacks to the network class 2013-09-09 13:33:25 +02:00
thomasv
2a6e8927dd select the longest blockchain from several servers 2013-09-02 17:49:12 +02:00
ThomasV
e9b103b283 fix regressions in tx verifier 2013-09-02 08:50:39 +02:00
ThomasV
d47892b690 separate blockchain verifier from transaction verifier 2013-09-01 18:16:15 +02:00
ecdsa
c95c80163d distinction between unconfirmed and unverified transactions 2013-04-27 17:48:27 +02:00
ecdsa
5cc05b0685 fix: verified tx contains pos 2013-04-01 12:12:16 +02:00
ecdsa
cac030e2ee fix transaction order in history 2013-03-23 18:10:09 +01:00
thomasv
3b80ef7c60 rely only on the verifier to get the height of transactions 2013-03-14 12:22:06 +01:00
thomasv
bdb515dabd print error received by verifier, and continue 2013-03-14 10:49:00 +01:00
thomasv
94e5263486 updating url for headers file 2013-02-18 15:56:02 +01:00
ThomasV
4dcac08ccf trigger synchronize when block height is received 2013-01-30 07:38:13 +01:00
Eagle[TM]
12cc65abbd add sockettimeout to header download by HTTP 2012-12-19 09:41:23 +01:00
thomasv
72b4ac97d0 use portable flag on android instead of explicit path for headers file. use urllib.retrieve() 2012-12-17 17:51:52 +01:00
thomasv
e2a2596479 fix: case where wdir path is empty (portable wallet) 2012-12-17 15:24:06 +01:00
thomasv
ba39f8bec0 do not bundle blockchain headers with packages 2012-12-17 11:18:49 +01:00
thomasv
16a81271e4 store timestamps in verifier 2012-12-05 19:12:28 +01:00
thomasv
108dfb6140 revert to daemon threads because some clients do not seem to close their sockets cleanly 2012-12-05 10:24:30 +01:00
ThomasV
9afbf21197 no daemon 2012-11-24 20:35:09 +01:00
ThomasV
0ad7f72d3d nodaemon 2012-11-24 20:35:09 +01:00
thomasv
8ec2b16e21 use None as timestamp for pending transactions 2012-11-16 10:18:35 +01:00
thomasv
8fc042ee22 more fixes for the 0.6 servers 2012-11-15 10:34:56 +01:00
ThomasV
cc2ef02c2b gui fixes 2012-11-15 09:14:24 +01:00
ThomasV
8ec6a60daf compatibility with 0.6 protocol 2012-11-14 15:33:44 +01:00
ThomasV
e39a5c9609 init headers file 2012-11-07 08:45:53 +01:00
thomasv
dd2302140f include headers file in package 2012-11-05 13:03:05 +01:00
thomasv
73dc533e79 set timestamps on startup 2012-11-05 10:26:28 +01:00
ThomasV
39a85767a3 solve deadlock during restore 2012-11-04 20:53:27 +01:00
thomasv
4cbee7554f new protocol: the server sends serialized tx, deserialize it in the client 2012-11-04 10:56:39 +01:00
thomasv
5e28ccd09d Improve text gui. Disable print_error when text gui is used. 2012-10-29 16:22:53 +01:00
thomasv
cdb52c30d2 do not request merkle root for unconfirmed transactions 2012-10-29 09:31:42 +01:00
ThomasV
71357cfb23 merkle root too 2012-10-27 20:52:32 +02:00
ThomasV
1a7f1daebd fix flags 2012-10-27 20:04:08 +02:00