moneromooo-monero
11db442a6c
bootstrap_file: do not try to create a directory with an empty name
...
This will happen if the chosen output file does not have a
path specified
9 years ago
moneromooo-monero
03bc6100de
hardfork: use DB transactions when reorganizing
...
It speeds up a lot, which can be significant when reorganizing
from the genesis block to create the hard fork data.
9 years ago
moneromooo-monero
439c4555e9
hardfork: simplify work done on reload
...
There is no need to fully recalculate and rewrite state, just
refill state from the DB.
9 years ago
Riccardo Spagni
e6d2460263
Merge pull request #432
...
5ea2f93
wallet2: really include non canonical outputs in dust sweep (moneromooo-monero)
9 years ago
Riccardo Spagni
eef5fa446e
Merge pull request #431
...
253ed76
core_rpc_server: add optional json decoded tx to COMMAND_RPC_GET_TRANSACTIONS (moneromooo-monero)
ca23c0e
core_rpc_server: add a getblock RPC command, and fix print_block (moneromooo-monero)
9 years ago
moneromooo-monero
1ce2621a73
simplewallet: add a check_tx_key command
...
It allows one to check the amount of monero sent to a particular
address in a particular transaction, given that transaction's tx key
9 years ago
moneromooo-monero
5ea2f936ae
wallet2: really include non canonical outputs in dust sweep
9 years ago
moneromooo-monero
253ed76ef4
core_rpc_server: add optional json decoded tx to COMMAND_RPC_GET_TRANSACTIONS
9 years ago
moneromooo-monero
ca23c0e5c8
core_rpc_server: add a getblock RPC command, and fix print_block
9 years ago
moneromooo-monero
0f6d3aa9c7
simplewallet: hide start_mining behind --trusted-daemon
...
because it leaks your standard address
9 years ago
Riccardo Spagni
0fdc75b054
Merge pull request #427
...
df8a110
simplewallet: add a --trusted-daemon flag (moneromooo-monero)
9 years ago
moneromooo-monero
df8a1105e6
simplewallet: add a --trusted-daemon flag
...
It allows enabling the rescan_spent command only for trusted
daemon
9 years ago
moneromooo-monero
79c95c1748
simplewallet: bump default mixin from 3 to 4
...
As recommended in MRL-0004
9 years ago
moneromooo-monero
ac90d488e7
from hard fork 2, all outputs must be decomposed
...
The wallet decomposes fully as of now too.
9 years ago
moneromooo-monero
90ccad1236
from hard fork 2, claim a quantized reward in coinbase
...
The small leftover is carried forward
9 years ago
moneromooo-monero
22b15704b6
cryptonote_format_utils: add a function to tell if an amount is canonical
9 years ago
Riccardo Spagni
5b47019cf4
Merge pull request #420
...
ee27559
Update to compile with latest miniupnpc (warptangent)
9 years ago
Riccardo Spagni
2ce54a0d3e
Merge pull request #415
...
180bcde
build: default to Berkeley DB for 32 bit and ARM (moneromooo-monero)
791d8cb
db_bdb: fix hard fork keys (moneromooo-monero)
9 years ago
warptangent
ee27559724
Update to compile with latest miniupnpc
...
upnpDiscover() takes a new argument for TTL.
Use the suggested default of 2.
9 years ago
moneromooo-monero
180bcde866
build: default to Berkeley DB for 32 bit and ARM
9 years ago
moneromooo-monero
791d8cb038
db_bdb: fix hard fork keys
...
Berkeley DB requires RECNO keys to be 32 bits, and forbids a key
value of 0.
9 years ago
moneromooo-monero
cec92c4fd3
hardfork: move an assert so it actually works
...
An unsigned quantity is always >= 0
9 years ago
Riccardo Spagni
1e7fc9c093
Merge pull request #410
...
33affd2
blockchain: on hardfork 2, require mixin 2 at least if possible (moneromooo-monero)
434e0f4
hardfork: make the voting window a week (moneromooo-monero)
0a7421b
hardfork: rescan speedup (moneromooo-monero)
fec98b8
hardfork: remove use of GNU extension for initializing object (moneromooo-monero)
4bbf944
blockchain: on hardfork 2, allow miners to claim less money than allowed (moneromooo-monero)
088bc56
hardfork: change window semantics to not count the newly added block (moneromooo-monero)
198f557
blockchain: use different hard fork settings for testnet and mainnet (moneromooo-monero)
9 years ago
Riccardo Spagni
419d70eb1f
Merge pull request #409
...
151c32d
dns_utils: fix wrong asserts (moneromooo-monero)
9 years ago
moneromooo-monero
33affd2d17
blockchain: on hardfork 2, require mixin 2 at least if possible
9 years ago
moneromooo-monero
434e0f42e7
hardfork: make the voting window a week
9 years ago
moneromooo-monero
0a7421b607
hardfork: rescan speedup
...
Add a block height before which version 1 is assumed
Use DB transactions
9 years ago
moneromooo-monero
fec98b8952
hardfork: remove use of GNU extension for initializing object
9 years ago
moneromooo-monero
4bbf944df0
blockchain: on hardfork 2, allow miners to claim less money than allowed
...
So they can avoid dust if they so wish
9 years ago
moneromooo-monero
088bc56d79
hardfork: change window semantics to not count the newly added block
...
This allows knowing the hard fork a block must obey in order to be
added to the blockchain. The previous semantics would use that new
block's version vote to determine this hard fork, which made it
impossible to use the rules to validate transactions entering the
tx pool (and made it impossible to validate a block before adding
it to the blockchain).
9 years ago
moneromooo-monero
198f557d38
blockchain: use different hard fork settings for testnet and mainnet
9 years ago
moneromooo-monero
151c32d5c4
dns_utils: fix wrong asserts
...
Braino.
9 years ago
moneromooo-monero
5b11a89a76
hardfork: most state now saved to the DB
...
There will be a delay on first load of an existing blockchain
as it gets reparsed for this state data.
9 years ago
moneromooo-monero
0a54c3a553
hardfork: remove the "parts are copyright cryptonote" notices
...
I coded the whole thing from scratch.
9 years ago
moneromooo-monero
e546f3724a
Add an RPC call and daemon command to get info on hard fork voting
9 years ago
moneromooo-monero
d06713199e
blockchain: force a hardfork recalculation at load time
...
Since the state isn't actually saved anywhere, as the archive
code isn't called in the new DB version.
9 years ago
moneromooo-monero
a7177610b3
core: add consts where appropriate
9 years ago
moneromooo-monero
8ffc508cef
core: moan when we think an update is needed to get latest hard fork info
9 years ago
moneromooo-monero
f85498422d
blockchain: use the new hardfork class
9 years ago
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.
9 years ago
moneromooo-monero
bed9a44e56
blockchain: add a couple missing includes
9 years ago
Riccardo Spagni
cf88e4dd24
Merge pull request #394
...
3c10239
unbound: use the mini event fallback implementation (moneromooo-monero)
4e138a0
dns_utils: remove unnecessary string conversion (moneromooo-monero)
f928468
dns_utils: factor the fetching code for different DNS record types (moneromooo-monero)
4ef0da1
dns_utils: simplify string handling and fix leak (moneromooo-monero)
ae5f28c
dns_utils: add a const where possible (moneromooo-monero)
f43d465
dns_utils: lock access to the singleton (moneromooo-monero)
5990344
dns: make ctor private (moneromooo-monero)
9 years ago
moneromooo-monero
4e138a02df
dns_utils: remove unnecessary string conversion
9 years ago
moneromooo-monero
f928468b9b
dns_utils: factor the fetching code for different DNS record types
9 years ago
moneromooo-monero
4ef0da184d
dns_utils: simplify string handling and fix leak
9 years ago
moneromooo-monero
ae5f28cb51
dns_utils: add a const where possible
9 years ago
moneromooo-monero
f43d465da2
dns_utils: lock access to the singleton
...
This avoids races which could result in two objects being created
9 years ago
moneromooo-monero
5990344cb0
dns: make ctor private
...
This ensures one can't instanciate a DNSResolver object by
mistake, but uses the singleton. A separate create static
function is added for cases where a new object is explicitely
needed.
9 years ago
Javier Smooth
b19456dc6d
Re-enable optimized slow-hash if someone is trying to compile w/MSVC (disabling it was unintentional)
9 years ago
Riccardo Spagni
a1af0feb06
Merge pull request #390
...
5dc53c2
wallet: use mutex protected random generation api (moneromooo-monero)
9 years ago