moneromooo-monero
ea37614efe
wallet: wipe seed from memory where appropriate
2018-08-16 09:17:52 +00:00
Lee Clagett
4616cf2641
Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST
2018-08-02 07:30:20 +00:00
luigi1111
3fde902394
Merge pull request #4097
...
61caab8
crypto: remove slight bias in key generation due to modulo (moneromooo-monero)
2018-07-27 14:23:54 -05:00
luigi1111
f6d7e87b67
Merge pull request #4075
...
438d52d
remove epee from link lines where it's redundant (moneromooo-monero)
2018-07-19 14:10:20 -05:00
luigi1111
33122ab8a6
Merge pull request #3617
...
4c00a4d unit_tests: add device unit tests (moneromooo-monero)
2018-07-19 13:32:36 -05:00
moneromooo-monero
61caab8a8c
crypto: remove slight bias in key generation due to modulo
2018-07-05 09:18:01 +01:00
moneromooo-monero
438d52deaf
remove epee from link lines where it's redundant
...
For some reason, this confuses and kills ASAN on startup
as it thinks const uint8_t ipv4_network_address::ID is
defined multiple times.
2018-06-28 16:45:22 +01:00
luigi1111
cfd66dae4b
Merge pull request #3691
...
db55263
threadpool: allow constructing an object, and misc tweaks (moneromooo-monero)
ce173cb
core: remove threadpool dependency from header (moneromooo-monero)
3147468
unit_tests: add threadpool unit test (moneromooo-monero)
2018-06-17 22:04:39 -05:00
luigi1111
b6eb7484d1
Merge pull request #3592
...
90a16b1
crypto: fix initialization order issue with random mutex (moneromooo-monero)
6a61f52
unit_tests: add ringdb unit tests (moneromooo-monero)
2018-05-31 14:41:17 -05:00
moneromooo-monero
3147468d35
unit_tests: add threadpool unit test
2018-05-20 12:06:10 +01:00
moneromooo-monero
b88c9a003e
unit_tests: set default data dir to the source tree at build time
2018-05-15 21:45:34 +01:00
moneromooo-monero
4c00a4d31e
unit_tests: add device unit tests
...
Annoyingly, its locking semantics are borked since it does not
do any locking
2018-04-12 13:49:05 +01:00
moneromooo-monero
6a61f520e2
unit_tests: add ringdb unit tests
2018-04-11 11:43:39 +01:00
xmr-eric
18216f19dd
Update 2018 copyright
2018-01-26 10:03:20 -05:00
moneromooo-monero
1e5491e942
Add a chacha20 variant to go with chacha8
2017-12-25 19:28:03 +00:00
moneromooo-monero
b84b3565f3
tests: add multisig unit tests
2017-12-17 16:12:00 +00:00
Riccardo Spagni
6c0953b15a
Merge pull request #2860
...
3dffe71b
new wipeable_string class to replace std::string passphrases (moneromooo-monero)
7a2a5741
utils: initialize easylogging++ in on_startup (moneromooo-monero)
54950829
use memwipe in a few relevant places (moneromooo-monero)
000666ff
add a memwipe function (moneromooo-monero)
2017-12-16 23:19:27 +02:00
moneromooo-monero
90b8d9f271
add bulletproofs to the build, with basic unit tests
...
Based on Java code from Sarang Noether
2017-12-08 13:41:13 +00:00
moneromooo-monero
000666ff78
add a memwipe function
...
It's meant to avoid being optimized out
memory_cleanse lifted from bitcoin
2017-11-27 22:15:34 +00:00
Cole Lightfighter
4fd6a3d27f
Subaddress unit tests
...
Basic unit test fixture, and initialization of a subaddress account.
Signed-off-by: Cole Lightfighter <cole@onicsla.bz>
2017-10-17 10:59:53 -06:00
Riccardo Spagni
6159a83175
Merge pull request #2608
...
fe484f30
unit_tests: data dir is now overridden with --data-dir (moneromooo-monero)
2017-10-15 18:54:16 +02:00
Riccardo Spagni
cb9b1fcc94
Merge pull request #2582
...
240f769d
tests: add sha256sum unit test (moneromooo-monero)
2017-10-15 18:36:38 +02:00
moneromooo-monero
fe484f3049
unit_tests: data dir is now overridden with --data-dir
...
rather than a raw string without option
2017-10-08 21:19:05 +01:00
Riccardo Spagni
8661f4e868
Merge pull request #2523
...
540d6fa3
tests: pass data dir as arg (redfish)
2017-10-06 22:51:22 +04:00
moneromooo-monero
240f769d21
tests: add sha256sum unit test
2017-10-05 17:03:37 +01:00
redfish
540d6fa3d5
tests: pass data dir as arg
...
This fixes test failure on builds that happen
to be built in 'build/' instead of 'build/release'.
Use boost filesystem path type.
2017-09-28 01:41:44 -04:00
moneromooo-monero
36c3465b98
wallet2: do not keep block hashes below last checkpoint
...
This saves a lot of space and load/save time for wallet caches
2017-09-25 21:16:40 +01:00
Riccardo Spagni
b911130a46
Merge pull request #2442
...
e29282d2
build: auto update version info without manually deleting version.h (stoffu)
2017-09-25 16:50:35 +02:00
Riccardo Spagni
08ada1fa8b
Merge pull request #2440
...
6137a0b9
blockchain: reject unsorted ins and outs from v7 (moneromooo-monero)
16afab90
core: sort ins and outs key key image and public key, respectively (moneromooo-monero)
0c36b9f9
common: add apply_permutation file and function (moneromooo-monero)
2017-09-25 16:49:01 +02:00
stoffu
e29282d208
build: auto update version info without manually deleting version.h
2017-09-21 07:47:37 +09:00
Howard Chu
510d0d4753
Use a threadpool
...
Instead of constantly creating and destroying threads
2017-09-14 21:42:48 +01:00
moneromooo-monero
0c36b9f931
common: add apply_permutation file and function
...
This algorithm is adapted from Raymond Chen's code:
https://blogs.msdn.microsoft.com/oldnewthing/20170109-00/?p=95145
2017-09-13 09:25:01 +01:00
moneromooo-monero
5be43fcdba
cryptonote_protocol_handler: sync speedup
...
A block queue is now placed between block download and
block processing. Blocks are now requested only from one
peer (unless starved).
Includes a new sync_info coommand.
2017-08-07 09:33:04 +01:00
Lee Clagett
4a8f96f95d
Improvements for epee binary to hex functions:
...
- Performance improvements
- Added `span` for zero-copy pointer+length arguments
- Added `std::ostream` overload for direct writing to output buffers
- Removal of unused `string_tools::buff_to_hex`
2017-04-11 16:35:00 -04:00
Lee Clagett
50cd179a60
Removed boost/asio.hpp include from epee/string_tools.h
2017-03-18 22:05:14 -04:00
Riccardo Spagni
c3599fa7b9
update copyright year, fix occasional lack of newline at line end
2017-02-21 19:38:18 +02:00
Riccardo Spagni
88c752b476
Merge pull request #1721
...
2cde2c02
switch to boost::thread for mingw build (Lee Clagett)
2017-02-21 11:26:09 +02:00
moneromooo-monero
08c3f38031
util: add a vercmp function to compare version numbers
...
It is simple, supports simple x.y.z type numeric versions,
and does not attempt any kind of validation
2017-02-20 22:58:04 +00:00
Lee Clagett
2cde2c02ca
switch to boost::thread for mingw build
2017-02-16 20:10:23 -05:00
Riccardo Spagni
eacf2124b6
Merge pull request #1689
...
ce7fcbb4
Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
2017-02-11 00:35:25 +02:00
kenshi84
8027ce0c75
extract some basic code from libcryptonote_core into libcryptonote_basic
2017-02-08 22:45:15 +09:00
Lee Clagett
ce7fcbb4ae
Add server auth to monerod, and client auth to wallet-cli and wallet-rpc
2017-02-06 01:15:41 -05:00
Lee Clagett
bdc3d7496f
Adding HTTP Digest Auth (but not yet enabled)
2016-12-13 00:19:54 -05:00
Riccardo Spagni
977dd9b76c
Merge pull request #1385
...
5783dd8c
tests: add unit tests for uri parsing (moneromooo-monero)
82ba2108
wallet: add API and RPC to create/parse monero: URIs (moneromooo-monero)
d9001b43
epee: add functions to convert from URL format (ie, %XX values) (moneromooo-monero)
2016-12-04 22:19:06 +02:00
moneromooo-monero
5783dd8c99
tests: add unit tests for uri parsing
2016-11-28 17:54:28 +00:00
Lee Clagett
91ffb61c25
Added command_line::is_yes
2016-11-25 21:57:27 -05:00
Lee Clagett
f025198f19
Added task_region - a fork/join task implementation
2016-11-23 14:41:25 -05:00
moneromooo-monero
82dbba10d4
core: dynamic fee algorithm from ArticMine
...
The fee will vary based on the base reward and the current
block size limit:
fee = (R/R0) * (M0/M) * F0
R: base reward
R0: reference base reward (10 monero)
M: block size limit
M0: minimum block size limit (60000)
F0: 0.002 monero
Starts applying at v4
2016-10-31 08:37:08 +00:00
redfish
e1c7af35d4
cmake: transitive deps and remove deprecated LINK_*
...
Keep the immediate direct deps at the library that depends on them,
declare deps as PUBLIC so that targets that link against that library
get the library's deps as transitive deps.
Break dep cycle between blockchain_db <-> crytonote_core.
No code refactoring, just hide cycle from cmake so that
it doesn't complain (cycles are allowed only between
static libs, not shared libs).
This is in preparation for supproting BUILD_SHARED_LIBS cmake
built-in option for building internal libs as shared.
2016-09-18 02:56:26 -04:00
redfish
640a934d5f
tests: cmake: fix building with system gtest
...
Issues #980 #983
2016-08-30 23:04:53 -04:00
moneromooo-monero
ce5de8b430
tests: add tests for wallet output selection
2016-08-28 21:29:34 +01:00
moneromooo-monero
2d6303fb2c
tests: add Shen Noether's basic ringct tests
2016-08-28 21:27:19 +01:00
moneromooo-monero
3eff37f931
unit_tests: add a write_varint/read_varint test
2016-05-01 11:42:31 +01:00
moneromooo-monero
7a663873ce
unit_tests: fix UNBOUND_LIBRARIES/UNBOUND_LIBRARY typo
2016-05-01 11:35:14 +01:00
moneromooo-monero
34957fcbb9
tests: add test for needed OpenSSL algorithms in unbound
...
These can be compiled out of libunbound, leading to failure
to check DNSSEC validity.
2016-03-29 17:56:42 +01:00
Riccardo Spagni
de03926850
updated copyright year
2015-12-31 08:39:56 +02:00
moneromooo-monero
b90e14d927
tests: add a unit test for canonical decomposed amounts
2015-12-26 11:41:50 +00:00
moneromooo-monero
8b0200adf8
unit_tests: new test for IP blocking
2015-12-24 16:05:19 +00:00
moneromooo-monero
62b1f74116
New hardfork class
...
This keeps track of voting via block version, in order to decide
when to enable a particular fork's code.
2015-09-12 11:14:44 +01:00
Riccardo Spagni
e01d32e52d
cleaning up, removing redundant files, renaming, fixing incorrect licenses
2015-05-31 13:40:18 +02:00
Thomas Winget
a8bc7182ea
Merge BlockchainDB into upstream
2015-04-07 17:56:18 -04:00
Thomas Winget
cade0da8f1
CMake wiring, minor cleanup, minor test addition
...
Make Cmake things aware of BerkeleyDB and BlockchainBDB
Make the BlockchainDB unit tests aware of BlockchainBDB
2015-03-16 04:17:53 -04:00
rfree2monero
eabb519605
2014 network limit 1.0a +utils +toc -doc -drmonero
...
commands and options for network limiting
works very well e.g. for 50 KiB/sec up and down
ToS (QoS) flag
peer number limit
TODO some spikes in ingress/download
TODO problems when other up and down limit
added "otshell utils" - simple logging (with colors, text files channels)
2015-02-20 22:13:00 +01:00
Thomas Winget
5086ca1db5
add BlockchainDB tests to new cmake
2015-01-07 00:48:45 -05:00
Riccardo Spagni
f4b69d553a
year updated in license
2015-01-02 18:52:46 +02:00
Ben Boeckel
7d708e4223
cmake: support 2.8.7
...
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer
versions prefer PUBLIC and PRIVATE instead, but still support the LINK_
prefix.
2014-10-24 15:29:51 -04:00
Ben Boeckel
fa3ff75862
gtest: support an external gtest
2014-10-23 16:42:34 -04:00
Ben Boeckel
7bfcffadb9
cmake: put each test executable in its own directory
2014-10-23 16:42:34 -04:00