Howard Chu
4c7f8ac04f
DB cleanup
...
Hide LMDB-specific stuff behind blockchain_db.h. Nobody besides blockchain_db.cpp
should ever be including DB-specific headers any more.
7 years ago
Riccardo Spagni
4466b6d1b0
Merge pull request #2303
...
5a283078
cryptonote_protocol: large block sync size before v4 (moneromooo-monero)
7b747607
cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
7 years ago
Riccardo Spagni
4b2cc123ff
Merge pull request #2287
...
827afcb7
protocol: pass blockchain cumulative difficulty when syncing (moneromooo-monero)
7 years ago
moneromooo-monero
5a283078ec
cryptonote_protocol: large block sync size before v4
7 years ago
moneromooo-monero
827afcb7ea
protocol: pass blockchain cumulative difficulty when syncing
...
Not used yet.
7 years ago
Riccardo Spagni
124cbe3cf3
Merge pull request #2292
...
cb2d5ac7
mnemonics: new Esperanto word list (moneromooo-monero)
7 years ago
Riccardo Spagni
53dde37ceb
Merge pull request #2276
...
a1891ebe
tests: fix tests build (moneromooo-monero)
7 years ago
moneromooo-monero
cb2d5ac788
mnemonics: new Esperanto word list
...
Word list authored by: Engelberg, ProkhorZ
Sources:
Baza Radikaro Oficiala
Reta Vortaro (http://www.reta-vortaro.de/revo/ )
Esperanto Panorama - Esperanto-English Dictionary (http://www.esperanto-panorama.net/vortaro/eoen.htm )
ESPDIC - Paul Denisowski (http://www.denisowski.org/Esperanto/ESPDIC/espdic.txt )
7 years ago
moneromooo-monero
08abb670e1
protocol: fix reorgs while syncing
7 years ago
moneromooo-monero
a1891ebea9
tests: fix tests build
...
Add get_fork_version and add_ideal_fork_version to core so
cryptonote_protocol does not have to need the Blockchain
class directly, as it's not in its dependencies, and add
those to the fake core classes in tests too.
7 years ago
moneromooo-monero
158c3ecff3
core: thread most of handle_incoming_tx
7 years ago
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.
7 years ago
Riccardo Spagni
8609ed86c4
Merge pull request #2116
...
841231e5
Add fuzz testing using american fuzzy lop (moneromooo-monero)
7 years ago
moneromooo-monero
841231e5bd
Add fuzz testing using american fuzzy lop
...
Existing tests: block, transaction, signature, cold outputs,
cold transaction.
Data for these is in tests/data/fuzz.
A convenience shell script is in contrib/fuzz_testing/fuzz.sh, eg:
contrib/fuzz_testing/fuzz.sh signature
The fuzzer will run indefinitely, ^C to stop.
Fuzzing is currently supported for GCC only. I can't get CLANG
to build Monero here as it dies on some system headers, so if
someone wants to make it work on both, that'd be great.
In particular, the __AFL_LOOP construct should be made to work
so that a given run can fuzz multiple inputs, as the C++ load
time is substantial.
7 years ago
moneromooo-monero
f4e3dca113
unit_tests: fix build failures after network_address changes
7 years ago
Riccardo Spagni
78f965a9e2
Merge pull request #2082
...
235df7f4
blockchain_db: add a txpool tx getter which returns existence (moneromooo-monero)
7 years ago
moneromooo-monero
235df7f484
blockchain_db: add a txpool tx getter which returns existence
...
Avoids exception spam for the "nope, not found" case
7 years ago
moneromooo-monero
c3bec61da2
core_tests: fix tests failing due to new txpool code requitring batch transactions
7 years ago
Howard Chu
d17c0fc2d0
Don't copy blockchain for coinbase_tx_sum
...
Changed Blockchain::for_all_blocks() to for_blocks_range()
Operate on blockchain in-place instead of building a copy first.
7 years ago
Riccardo Spagni
a4c13ea092
Merge pull request #2039
...
4b932ff3
changed crypto to cncrypto so it generated libcncrypto (Gentian)
7 years ago
Riccardo Spagni
cd13bcb4d2
Merge pull request #2036
...
89b2f306
tests: fix invalid key image test (moneromooo-monero)
a374a522
wallet2: check key image validity domain in import_key_images (moneromooo-monero)
7 years ago
Riccardo Spagni
40eb22aeb4
Merge pull request #2016
...
d1db3251
Fix overlooked renaming of Português in the unit tests (Nano Akron)
7 years ago
Riccardo Spagni
545e2b003c
Merge pull request #1982
...
b52abd13
Move txpool to the database (moneromooo-monero)
7 years ago
moneromooo-monero
b52abd1370
Move txpool to the database
...
Integration could go further (ie, return_tx_to_pool calls should
not be needed anymore, possibly other things).
poolstate.bin is now obsolete.
7 years ago
Gentian
4b932ff314
changed crypto to cncrypto so it generated libcncrypto
...
fix a cmakelist
7 years ago
moneromooo-monero
89b2f3061b
tests: fix invalid key image test
...
It was using an invalid key image which wasn't in the key image
domain, so the transaction was rejected earlier than the test
was expecting
7 years ago
Nano Akron
d1db32511c
Fix overlooked renaming of Português in the unit tests
7 years ago
Nano Akron
12fff108ea
Change Old_English to English_Old - 'Old English' is actually a language
7 years ago
Riccardo Spagni
e53dd76a49
Merge pull request #1983
...
72d113dd
Amended software licenses for Portuguese and Spanish (Nano Akron)
54bcd260
Added Simplified Chinese electrum word list (Nano Akron)
7 years ago
Nano Akron
54bcd260ff
Added Simplified Chinese electrum word list
7 years ago
Lee Clagett
93e10f1cc4
Simplified the implementation and features of span
7 years ago
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`
7 years ago
Randi Joseph
933e08f2f3
Replace deprecated tmpnam function.
7 years ago
moneromooo-monero
6e6794786a
mnemonics: sanity checks for word lists
...
and a test to go with it
Remember to run the test when changing word lists, or simplewallet
will throw uncaught if that word list is used.
7 years ago
moneromooo-monero
f065234b71
core: cache tx and block hashes in the respective classes
...
An idea from smooth
7 years ago
Lee Clagett
50cd179a60
Removed boost/asio.hpp include from epee/string_tools.h
7 years ago
moneromooo-monero
3396a9f2af
Add intervening v5 fork for increased min block size
...
Minimum mixin 4 and enforced ringct is moved from v5 to v6.
v5 is now used for an increased minimum block size (from 60000
to 300000) to cater for larger typical/minimum transaction size.
The fee algorithm is also changed to decrease the base per kB
fee, and add a cheap tier for those transactions which we do
not care if they get delayed (or even included in a block).
7 years ago
kenshi84
7d07c64fe5
fix dependency: put HardFork back to cryptonote_basic, made some BlockchainDB functions virtual again to avoid missing symbols error
7 years ago
moneromooo-monero
f75477819c
unit_tests: fix fee tests after quantization change
7 years ago
moneromooo-monero
12adb4a3f3
core: move hardfork back to cryptonote_core
...
should fix a cross dependency betewen cryptonote_basic and
blockchain_db
7 years ago
Riccardo Spagni
700d218c5d
fix broken test data
7 years ago
Riccardo Spagni
c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
Riccardo Spagni
ecbd3f0798
Merge pull request #1758
...
5664826a
unit_tests: hardfork unit test now needs get_block_blob_from_height (moneromooo-monero)
7 years ago
moneromooo-monero
5664826a84
unit_tests: hardfork unit test now needs get_block_blob_from_height
7 years ago
Howard Chu
80749e59a8
More for PR #1724
...
Fix unit_tests build (get_output_key API change)
7 years ago
Riccardo Spagni
49efd3add9
Merge pull request #1727
...
0288310e
blockchain_db: add "raw" blobdata getters for block and transaction (moneromooo-monero)
7 years ago
Riccardo Spagni
88c752b476
Merge pull request #1721
...
2cde2c02
switch to boost::thread for mingw build (Lee Clagett)
7 years ago
Riccardo Spagni
565c99f670
Merge pull request #1731
...
a427235e
core: add a missing newline on a string to be logged (moneromooo-monero)
b6a2230e
unit_tests: fix minor blockchain_db regression (moneromooo-monero)
c488eca5
hardfork: tone down some logs (moneromooo-monero)
7 years ago
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
7 years ago
Lee Clagett
2cde2c02ca
switch to boost::thread for mingw build
7 years ago