| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \
| |/
|/|
| | |
0478ac68 blockchain: allow marking "tx not found" without an exception (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
This is a normal occurence in many cases, and there is no need
to spam the log with those when it is.
|
| |/
|
|
| |
Also miner tx hash to log level 1 (have you ever tried to find a testnet miner tx hash?)
|
| |\
| |
| |
| | |
55fa0479 rpc: new function and RPC to get alternative chain info (moneromooo-monero)
|
| | | |
|
| |/
|
|
| |
net_node.inl, completely adandon boost/archive/binary_oarchive.hpp
|
| |
|
|
|
|
|
| |
After popping blocks from the old chain, the hard fork object's
notion of the current version was not in line with the new height,
causing the first blocks from the new chain to be rejected due
to a false expection of a newer version.
|
| |\
| |
| |
| | |
dfbb85b6 blockchain: fix setting non trovial alternate chain as invalid (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| | |
The wrong iterator was being used.
Also preincrement iterators to avoid possibly invalidating them,
I'm not sure this is necessary, but let's be safe.
|
| |/
|
|
|
| |
This will ensure the early 0.10 daemons will barf at the fork
height, and not a bit later, which could be confusing.
|
| |\
| |
| |
| | |
f4772bae Fix a few minor typos (Pierre Boyer)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
3f7d6fb5 Fix delayed exit when syncing (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
204b1bff blockchain: use high bound block reward on error where appropriate (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| | |
If the block reward to use for the fee calculation can't be
calculated (should not happen in practice), use a high bound,
so we use a fee overestimate that will be accepted by the network.
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
25% of the outputs are selected from the last 5 days (if possible),
in order to avoid the common case of sending recently received
outputs again. 25% and 5 days are subject to review later, since
it's just a wallet level change.
|
| | |
|
| |\
| |
| |
| | |
3644aa9 blockchain: avoid using a reference to a temporary (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
0d036be blockchain: do not reject chain histories matching only genesis (moneromooo-monero)
|
| | |/
| |
| |
| |
| | |
This is fine if our local chain is so small that it is entirely
contained within the last jump in the peer's short chain history.
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| | |
b8c03a5 Remove blocks_per_sync limits (Howard Chu)
|
| | |
| |
| |
| |
| |
| | |
The code used to cap at 5000 blocks per sync. It also treated 0 as 1.
Remove these checks; if specified as 0 do no periodic syncs at all.
Then the user is responsible for syncing in some external process.
|
| |/
|
|
|
|
|
|
|
|
|
|
|
| |
Since this queries block heights for blocks that may or may not
exist, queries for non existing blocks would throw an exception,
and that would slow down the loop a lot. 7 seconds to go through
a 30 hash list.
Fix this by adding an optional return block height to block_exists
and using this instead. Actual errors will still throw an
exception.
This also cuts down on log exception spam.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When RingCT is enabled, outputs from coinbase transactions
are created as a single output, and stored as RingCT output,
with a fake mask. Their amount is not hidden on the blockchain
itself, but they are then able to be used as fake inputs in
a RingCT ring. Since the output amounts are hidden, their
"dustiness" is not an obstacle anymore to mixing, and this
makes the coinbase transactions a lot smaller, as well as
helping the TXO set to grow more slowly.
Also add a new "Null" type of rct signature, which decreases
the size required when no signatures are to be stored, as
in a coinbase tx.
|
| |
|
|
| |
Nothing is pruned, but this allows easier changes later.
|
| |
|
|
|
|
|
|
|
|
| |
The whole rct data apart from the MLSAGs is now included in
the signed message, to avoid malleability issues.
Instead of passing the data that's not serialized as extra
parameters to the verification API, the transaction is modified
to fill all that information. This means the transaction can
not be const anymore, but it cleaner in other ways.
|
| |
|
|
| |
for future expansion
|
| |
|
|
|
|
| |
This element is used in the generation of the MLSAG, but isn't
needed in verification.
Also misc changes in the cryptonote code to match, by mooo.
|
| | |
|
| | |
|
| |
|
|
| |
They can be reconstructed from vout
|
| | |
|
| | |
|