Howard Chu
6b0a903177
Small cleanups
...
Only one return and TXN_POSTFIX_RDONLY() per function
Only log rtxn_start if the rtxn wasn't already active
2016-03-15 13:35:31 +00:00
Howard Chu
01c1512f22
More for 92dd4ec6d6
...
Make sure we stop the right txn too
2016-03-15 13:35:23 +00:00
Riccardo Spagni
240a50f3fb
Merge pull request #723
...
2abdb2c
avoid some val copies (Howard Chu)
2016-03-14 22:20:42 +02:00
Riccardo Spagni
5820918bd1
Merge pull request #725
...
92dd4ec
Hack for read/write txn mixup (Howard Chu)
b28258a
change to LMDB as default, even on 32-bit and ARM (Riccardo Spagni)
2016-03-14 22:20:17 +02:00
Howard Chu
92dd4ec6d6
Hack for read/write txn mixup
...
save the thread ID of the writer thread so we don't try to use
the writetxn from reader threads
2016-03-14 20:19:46 +00:00
Riccardo Spagni
b28258a1c6
change to LMDB as default, even on 32-bit and ARM
2016-03-14 18:54:20 +00:00
Howard Chu
2abdb2c9fd
avoid some val copies
2016-03-14 09:40:49 +00:00
Riccardo Spagni
5843f89364
Merge pull request #721
...
11de192
change to LMDB as default, even on 32-bit and ARM (Riccardo Spagni)
2016-03-12 21:21:50 +02:00
Riccardo Spagni
2f8366fb21
Merge pull request #719
...
e98b26a
epee: fix bug deleting more than one connection at once (moneromooo-monero)
2016-03-12 21:21:32 +02:00
Riccardo Spagni
11de19266b
change to LMDB as default, even on 32-bit and ARM
2016-03-12 21:20:00 +02:00
Riccardo Spagni
4e59074d7a
Merge pull request #720
...
8689014
switch default utilities DB to lmdb, update checkpoints.dat (Riccardo Spagni)
2016-03-12 21:17:39 +02:00
Riccardo Spagni
8689014eda
switch default utilities DB to lmdb, update checkpoints.dat
2016-03-12 21:09:44 +02:00
moneromooo-monero
e98b26a87e
epee: fix bug deleting more than one connection at once
2016-03-12 15:36:18 +00:00
Riccardo Spagni
dd3cd9e7b8
Merge pull request #718
...
41ea91a
simplewallet: fix hang when setting auto-refresh to 0 (moneromooo-monero)
2016-03-12 16:25:35 +02:00
Riccardo Spagni
853f80e23a
Merge pull request #717
...
28bfc90
simplewallet: special ^C handling for windows (moneromooo-monero)
2016-03-12 16:21:53 +02:00
moneromooo-monero
41ea91a97a
simplewallet: fix hang when setting auto-refresh to 0
...
It would try to join the auto refresh thread, which would
only happen after it was done, which would take a long time
when doing so on a newly created wallet.
2016-03-12 14:21:34 +00:00
Riccardo Spagni
b66d455536
Merge pull request #716
...
789e275
rpc: do not return bans if they're effectively spent (moneromooo-monero)
474e4c0
p2p: lock access to the blocked ips map (moneromooo-monero)
2016-03-12 16:21:20 +02:00
Riccardo Spagni
bb7b31d5ed
Merge pull request #715
...
8bc1bd6
wallet: use minimum mixin when RPC asks for too low mixin (moneromooo-monero)
31d2e0f
wallet_rpc_server: make use_fork_rules public (moneromooo-monero)
2016-03-12 16:14:07 +02:00
moneromooo-monero
28bfc903b9
simplewallet: special ^C handling for windows
...
Because obviously it doesn't work as other POSIX platforms.
Reported and tested by luigi1111.
2016-03-12 14:05:25 +00:00
moneromooo-monero
789e2755f7
rpc: do not return bans if they're effectively spent
...
The blocked ip list will still hold them till next time
a connection attempt is made with that IP, so the effective
length of the ban may be negative.
2016-03-12 13:49:08 +00:00
moneromooo-monero
474e4c00f0
p2p: lock access to the blocked ips map
2016-03-12 13:48:58 +00:00
moneromooo-monero
8bc1bd6b65
wallet: use minimum mixin when RPC asks for too low mixin
...
After the fork, normal transfer functions called via RPC
use the minimum mixin 2 if 0 or 1 is requested. While the
incoming transaction may be valid (eg, it has an unmixable
and at most a mixable input), it is a simple way to make
sure RPC users can't get a seemingly random accept/reject
behavior if they don't update their requested mixin.
2016-03-11 21:32:16 +00:00
moneromooo-monero
31d2e0f84d
wallet_rpc_server: make use_fork_rules public
...
We will need it in the wallet RPC server
2016-03-11 21:31:50 +00:00
Riccardo Spagni
9a04793067
Merge pull request #714
...
4917af2
update donation addresses (Riccardo Spagni)
2016-03-11 22:57:58 +02:00
Riccardo Spagni
4917af265f
update donation addresses
2016-03-11 22:56:53 +02:00
Riccardo Spagni
bc95ef268b
Merge pull request #713
...
5b568b0
minor tweaks, add readme for crypto_ops_builder (Riccardo Spagni)
0a4dd68
minor tweaks, add readme for crypto_ops_builder (Riccardo Spagni)
2016-03-11 22:51:35 +02:00
Riccardo Spagni
e91fffc232
Merge branch 'master' of https://github.com/fluffypony/bitmonero
2016-03-11 22:49:02 +02:00
Riccardo Spagni
0a4dd68c17
minor tweaks, add readme for crypto_ops_builder
2016-03-11 22:48:46 +02:00
Riccardo Spagni
5b568b0c44
minor tweaks, add readme for crypto_ops_builder
2016-03-11 22:46:52 +02:00
Riccardo Spagni
dfd0e9c97d
Merge pull request #712
...
66c2fc7
Need to link boost::chrono in more places now (Howard Chu)
b937a2c
Use boost::thread instead of std::thread (Howard Chu)
2016-03-11 20:15:10 +02:00
Riccardo Spagni
c276483dbb
Merge pull request #711
...
52056dc
WIN32 thread_id is OS-dependent not compiler-dependent (Howard Chu)
87d39f3
WIN32: Need getpid() declaration (Howard Chu)
2016-03-11 20:13:40 +02:00
Riccardo Spagni
edfef34678
Merge pull request #710
...
8941ce0
More for bdec7cb
(Howard Chu)
2016-03-11 20:13:11 +02:00
Howard Chu
66c2fc7b70
Need to link boost::chrono in more places now
2016-03-11 16:17:08 +00:00
Howard Chu
52056dcfc4
WIN32 thread_id is OS-dependent not compiler-dependent
2016-03-11 15:46:09 +00:00
Howard Chu
b937a2c915
Use boost::thread instead of std::thread
...
and all other associated IPC
2016-03-11 15:09:50 +00:00
Howard Chu
87d39f39b3
WIN32: Need getpid() declaration
2016-03-11 13:32:50 +00:00
Howard Chu
8941ce0398
More for bdec7cb
...
More uses of db error helper
2016-03-09 18:24:16 +00:00
Riccardo Spagni
b96147030c
Merge pull request #705
...
f7ed167
blockchain_utilities: Update documentation (warptangent)
2016-03-05 23:14:06 +02:00
Riccardo Spagni
d0f011d873
Merge pull request #704
...
e2b7e55
get_payments short ID (luigi1111)
2016-03-05 23:13:23 +02:00
Riccardo Spagni
38fed83b65
Merge pull request #703
...
dfca2ae
unit_tests: fix hard fork unit test compilation (warptangent)
2016-03-05 23:12:32 +02:00
Riccardo Spagni
93605eb05f
Merge pull request #702
...
0485d17
blockchain_export: Support BerkeleyDB (warptangent)
41487e3
blockchain_export: Move DB implementation includes (warptangent)
2016-03-05 23:12:05 +02:00
warptangent
f7ed167fc0
blockchain_utilities: Update documentation
2016-03-05 13:11:44 -08:00
Riccardo Spagni
32dc08d19a
Merge pull request #700
...
bdec7cb
BlockchainLMDB: Use DB error helper consistently (warptangent)
c5932eb
BlockchainLMDB: Add DB error to exception (warptangent)
a49c355
Blockchain: Omit verbose time stats messages by default (warptangent)
2016-03-05 23:10:38 +02:00
Riccardo Spagni
c3af15702f
Merge pull request #698
...
ee7a8b8
Get rid of lmdb_cur (Howard Chu)
2016-03-05 23:06:26 +02:00
Riccardo Spagni
14c1e214ad
Merge pull request #696
...
d57ec75
Fix language (Howard Chu)
2016-03-05 23:06:04 +02:00
Riccardo Spagni
80aa57a6cd
Merge pull request #695
...
f5affbe
More for df239428c0
(Howard Chu)
2016-03-05 23:05:29 +02:00
luigi1111
e2b7e55be6
get_payments short ID
...
Add support for short/integrated/encrypted IDs to get_payments RPC
2016-03-05 13:30:48 -06:00
warptangent
dfca2ae1b5
unit_tests: fix hard fork unit test compilation
...
Match changed BlockchainDB function declaration.
2016-03-05 10:01:10 -08:00
warptangent
0485d17274
blockchain_export: Support BerkeleyDB
...
TEST:
blockchain_export -h
This should show "berkeley" as an available option to --database.
With an existing BerkeleyDB database, run:
blockchain_export --database berkeley
2016-03-05 06:46:11 -08:00
warptangent
41487e32be
blockchain_export: Move DB implementation includes
2016-03-05 06:46:09 -08:00