moneromooo-monero
375fde9454
hardfork: fix off by one updating fork index after popping
5 years ago
Riccardo Spagni
e98cbfbdfe
Merge pull request #5444
...
6643b047
Increment m_threads_active when mining thread starts (Doyle)
5 years ago
Riccardo Spagni
c5f64bf170
Merge pull request #5443
...
07dd5536
hardfork: remove "no hf version db" recreation check (moneromooo-monero)
5 years ago
Riccardo Spagni
46c477ab30
Merge pull request #5400
...
5e673c03
blockchain_db: fix db txn ending too early (moneromooo-monero)
5 years ago
Riccardo Spagni
9bd0983d5e
Merge pull request #5402
...
cbf32241
rpc: make wide_difficulty hexadecimal (moneromooo-monero)
5 years ago
Doyle
6643b04737
Increment m_threads_active when mining thread starts
5 years ago
moneromooo-monero
07dd55363c
hardfork: remove "no hf version db" recreation check
...
This is now obsolete, and this removes the warning on startup
on a new db that confuses some people
5 years ago
moneromooo-monero
5e673c03fe
blockchain_db: fix db txn ending too early
...
The db txn in add_block ending caused the entire overarching
batch txn to stop.
Also add a new guard class so a db txn can be stopped in the
face of exceptions.
Also use a read only db txn in init when the db itself is
read only, and do not save the max tx size in that case.
5 years ago
moneromooo-monero
064ab12340
functional_tests: add more blockchain related tests
...
Related to emission, reorgs, getting tx data back, output
distribution and histogram
5 years ago
Riccardo Spagni
38717dafc0
Merge pull request #5381
...
def40161
miner: fix race when stopping mining with start mining enabled (moneromooo-monero)
5 years ago
Riccardo Spagni
915d9e5a1f
Merge pull request #5380
...
113e4877
blockchain_stats: fix sign in formatting function (moneromooo-monero)
adaea3ea
various: remove unused variables (moneromooo-monero)
631ef00e
blockchain: some debug info when adding txes-from-block fails (moneromooo-monero)
5 years ago
Riccardo Spagni
3a4008f0fc
Merge pull request #5374
...
a2561653
wallet: new option to start background mining (moneromooo-monero)
5 years ago
Riccardo Spagni
76fbcfe2dd
Merge pull request #5123
...
089c7637
cryptonote: rework block blob size sanity check (moneromooo-monero)
5 years ago
Riccardo Spagni
4ac78e1612
Merge pull request #5346
...
c84ea299
cryptonote_basic: some more minor speedups (moneromooo-monero)
e40eb2ad
cryptonote_basic: speedup calculate_block_hash (moneromooo-monero)
547a9708
cryptonote: block parsing + hash calculation speedup (moneromooo-monero)
11604b6d
blockchain: avoid unneeded block copy (moneromooo-monero)
8461df04
save some database calls when getting top block hash and height (moneromooo-monero)
3bbc3661
Avoid repeated (de)serialization when syncing (moneromooo-monero)
5 years ago
moneromooo-monero
cbf3224180
rpc: make wide_difficulty hexadecimal
...
This should be friendlier for clients which don't have bignum support
5 years ago
moneromooo-monero
089c7637a6
cryptonote: rework block blob size sanity check
...
Use the actual block weight limit, assuming that weight is always
greater or equal to size
5 years ago
moneromooo-monero
a2561653cb
wallet: new option to start background mining
...
The setup-background-mining option can be used to select
background mining when a wallet loads. The user will be asked
the first time the wallet is created.
5 years ago
moneromooo-monero
def4016171
miner: fix race when stopping mining with start mining enabled
5 years ago
moneromooo-monero
adaea3ea3c
various: remove unused variables
5 years ago
Riccardo Spagni
574c399386
Merge pull request #5288
...
39f000b3
miner: fix possible exit crash due to race in stop (moneromooo-monero)
5 years ago
moneromooo-monero
c84ea2993f
cryptonote_basic: some more minor speedups
5 years ago
moneromooo-monero
e40eb2ad9d
cryptonote_basic: speedup calculate_block_hash
...
The block 202612 fix can be left tested at the end, if we
already know we're not in the general case
5 years ago
moneromooo-monero
547a9708de
cryptonote: block parsing + hash calculation speedup
...
This saves a duplicate serialization step
5 years ago
moneromooo-monero
91f4c7f45f
Make difficulty 128 bit instead of 64 bit
...
Based on Boolberry work by:
jahrsg <jahr@jahr.me>
cr.zoidberg <crypto.zoidberg@gmail.com>
5 years ago
Riccardo Spagni
8cb4293e82
Merge pull request #5277
...
adf6d773
wallet: fix offline signing calling a daemon RPC (moneromooo-monero)
5 years ago
moneromooo-monero
e9519e9876
cryptonote: fix calculating coinbase tx hash
...
Also set error flag on exception when handling new txes
to keep tests working
5 years ago
moneromooo-monero
adf6d7730f
wallet: fix offline signing calling a daemon RPC
5 years ago
Riccardo Spagni
cac4c3103a
Merge pull request #5271
...
2790d4d3
hardfork: update last_versions on popped block (moneromooo-monero)
5 years ago
Riccardo Spagni
48e3a341f8
Merge pull request #5211
...
c9b13fbb
tests/trezor: HF9 and HF10 tests (Dusan Klinec)
a1fd1d49
device/trezor: HF10 support added, wallet::API (Dusan Klinec)
d74d26f2
crypto: hmac_keccak added (Dusan Klinec)
5 years ago
Dusan Klinec
a1fd1d499c
device/trezor: HF10 support added, wallet::API
...
- import only key images generated by cold signing process
- wallet_api: trezor methods added
- wallet: button request code added
- const added to methods
- wallet2::get_tx_key_device() tries to decrypt stored tx private keys using the device.
- simplewallet supports get_tx_key and get_tx_proof on hw device using the get_tx_key feature
- live refresh enables refresh with trezor i.e. computing key images on the fly. More convenient and efficient for users.
- device: has_ki_live_refresh added
- a thread is watching whether live refresh is being computed, if not for 30 seconds, it terminates the live refresh process - switches Trezor state
5 years ago
Riccardo Spagni
848591c4d8
Merge pull request #5190
...
551104fb
daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
5 years ago
Riccardo Spagni
429930534d
Merge pull request #5185
...
59478c80
daemon: new mining_status command (moneromooo-monero)
5 years ago
Riccardo Spagni
50d48d6118
Merge pull request #5135
...
de32dcea
Human readable message if maximum outputs reached (italocoin)
5 years ago
moneromooo-monero
39f000b394
miner: fix possible exit crash due to race in stop
...
If a thread asks to stop the miner, m_stop will be set, and
that thread will wait to join. If the main thread is exiting
at that time, it will ask the miner to stop, but the miner
will claim it's not mining and early out since m_stop is
set. This will cause the database and other things to get
shutdown. If the miner happens to find a block at that time,
it will try to call core, and crash.
Instead, lock and check whether any threads are currently
in m_threads, since they'll only be cleared once the threads
are joined. Moreover, since we lock, the second thread will
have to wait for the first one to have finished. Calling
join twice on a thread seems fine as per pthread_join(3).
5 years ago
moneromooo-monero
2790d4d30a
hardfork: update last_versions on popped block
5 years ago
moneromooo-monero
59478c80dd
daemon: new mining_status command
5 years ago
binaryFate
1f2930ce0b
Update 2019 copyright
5 years ago
moneromooo-monero
9feda0eeba
cryptonote: speed up calculating coinbase tx prunable hash
...
It's a hash of an empty buffer, so we can avoid keccak
5 years ago
moneromooo-monero
f75d51abda
core: avoid calculating tx prefix hash when we don't need it
5 years ago
moneromooo-monero
e69477bf25
db: speedup block addition
...
by avoiding repeated (de)serialization
5 years ago
moneromooo-monero
23abe60705
check load_t_from_json return values
5 years ago
moneromooo-monero
e396146aee
default initialize rpc structures
5 years ago
Riccardo Spagni
42adc50766
Merge pull request #5125
...
8298f42e
miner: it can now autodetect the optimal number of threads (moneromooo-monero)
5 years ago
moneromooo
807903bbbf
hardfork: fix fork determination for historical heights
5 years ago
Riccardo Spagni
1b4fa00d7c
Merge pull request #5126
...
f1fb06b1
Fixed path to int-util.h (SChernykh)
9da0892b
Adding cnv4-2 tweaks (SChernykh)
f51397b3
Cryptonight variant 4 aka CryptonightR (SChernykh)
5 years ago
xiphon
551104fbf1
daemon: add --public-node mode, RPC port propagation over P2P
5 years ago
moneromooo-monero
8298f42e9d
miner: it can now autodetect the optimal number of threads
5 years ago
SChernykh
f51397b306
Cryptonight variant 4 aka CryptonightR
...
It introduces random integer math into the main loop.
5 years ago
italocoin
de32dcea1d
Human readable message if maximum outputs reached
5 years ago
moneromooo-monero
529645014c
ringct: fix v1 ecdhInfo serialization
...
The change made for v2 broke v1, and we have no way to know which
version we're serializing here. However, since we don't actually
care about space savings in this case, we continue serialiazing
both mask and amount.
5 years ago