Howard Chu
5bba2fdbb0
More for PR#999
8 years ago
moneromooo-monero
adca903589
wallet_rpc_server: return payment id in make_integrated_address RPC
...
It is useful, especially when requesting a random one
8 years ago
Riccardo Spagni
c915bffa51
Merge pull request #1002
...
91ca0b4
core: allow empty global indices for txes with empty vout (moneromooo-monero)
8 years ago
moneromooo-monero
91ca0b4065
core: allow empty global indices for txes with empty vout
8 years ago
Riccardo Spagni
f5b802e684
Merge pull request #999
...
dc411ea
Change default db-sync-mode to fast, not fastest (Howard Chu)
8 years ago
moneromooo-monero
887db9f936
blockchain: testnet heights for v3, v4, and v5
8 years ago
moneromooo-monero
f24ab58d18
ringct: remove unused code
8 years ago
moneromooo-monero
b38452bd55
ringct: pass structure by const ref, not value
8 years ago
moneromooo-monero
fd11271eea
ringct: use memcpy/memset instead of handwritten loop where appropriate
8 years ago
moneromooo-monero
5d38206fcc
ringct: remove spurious copies
8 years ago
moneromooo-monero
16732a85d7
rct: faster Cryptonote/rct conversions
8 years ago
moneromooo-monero
fbd7c359ee
wallet: fix some "may be used uninitialized" warnings
...
The compiler can't always work out the _found booleans are
set iff the value is initialized.
8 years ago
moneromooo-monero
4a41dd4068
wallet: do not generate 0 change
8 years ago
moneromooo-monero
a0925e628e
core: use full rct signatures if just one input
...
It is slightly smaller, but requires all rings to have the real
input on the same index, so can only be used for single input txes.
8 years ago
moneromooo-monero
94fd881f74
rct: early out on failure on verRange
8 years ago
moneromooo-monero
45349b6f7c
wallet: do not ask for duplicate histograms
8 years ago
moneromooo-monero
b951bc8780
wallet: transfer_selected_rct now also selects fake outs
8 years ago
moneromooo-monero
4f887dea6e
increase minimum mixin to 4 on hard fork 5
8 years ago
moneromooo-monero
0815c72df7
core: allow v1 txes after HF 5 when sweeping unmixable outputs
8 years ago
moneromooo-monero
074e602609
ringct: use Cryptonote serialization to hash non prunable data
8 years ago
moneromooo-monero
c3b3260ae5
New "Halfway RingCT" outputs for coinbase transactions
...
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.
8 years ago
moneromooo-monero
6f526cdff8
rct: log why verification fails
...
and remove some unnecessary variables in the checking code
8 years ago
moneromooo-monero
d4b8991e44
rct: serialize txnFee as varint
8 years ago
moneromooo-monero
d4b62a1e29
rct amount key modified as per luigi1111's recommendations
...
This allows the key to be not the same for two outputs sent to
the same address (eg, if you pay yourself, and also get change
back). Also remove the key amounts lists and return parameters
since we don't actually generate random ones, so we don't need
to save them as we can recalculate them when needed if we have
the correct keys.
8 years ago
moneromooo-monero
93f5c625f0
rct: rework v2 txes into prunable and non prunable data
...
Nothing is pruned, but this allows easier changes later.
8 years ago
moneromooo-monero
d93746b6d3
rct: rework the verification preparation process
...
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.
8 years ago
moneromooo-monero
3ab2ab3e76
rct: change the simple flag to a type
...
for future expansion
8 years ago
Shen Noether
c5be4b0bea
rct: avoid the need for the last II element
...
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.
8 years ago
moneromooo-monero
a47ceee83b
wallet: do not store signatures in the wallet cache
...
Saves some substantial space.
Also avoid calculating tx hashes we don't need.
8 years ago
moneromooo-monero
0263dd2d23
core: add some locking around pool use
8 years ago
moneromooo-monero
2c9d9519f1
wallet2: factor m_spent changes
...
Makes it easier to track what is going on.
8 years ago
moneromooo-monero
1303cda646
wallet: always use new algorithm for RPC transfers
...
This ensures we get rct transactions when appropriate
8 years ago
moneromooo-monero
b337aea6cc
rct: do not serialize senderPk - it is not used anymore
8 years ago
moneromooo-monero
230fca2d56
wallet: use the prefered rct case only when enough rct outs exist
8 years ago
moneromooo-monero
c27194a444
wallet: do not try to use rct txes a few blocks before the fork
8 years ago
moneromooo-monero
1bf069825b
tx_pool: log why a transaction was rejected for version checks
8 years ago
moneromooo-monero
37bdf6ebe3
change fork settings to allow pre-rct txes for one more fork cycle
8 years ago
moneromooo-monero
cc85cc6a3f
simplewallet: better check_tx_key feedback
...
Print number of confirmations if the tx is in the blockchain,
or a warning if it's in the pool.
8 years ago
moneromooo-monero
9b70856ccb
rct: make the amount key derivable by a third party with the tx key
...
Scheme design from luigi1114.
8 years ago
moneromooo-monero
cf33e1a52a
rct: do not serialize public keys in outPk
...
They can be reconstructed from vout
8 years ago
moneromooo-monero
83ab3151e8
wallet2_api: zero amounts are now allowed with rct
8 years ago
moneromooo-monero
096ac06521
wallet2_api: update on_money_{received,spent} prototypes for rct changes
8 years ago
moneromooo-monero
3cb2edec66
rpc: send global indices along with blocks/transacions on refresh
...
This plugs a privacy leak, where the wallet tells the daemon
which transactions contain outputs for the wallet by asking
for additional information for that particular transaction.
As a nice bonus, this actually makes refresh slightly faster.
8 years ago
moneromooo-monero
414b424d32
core: always use the new simple rct variant
8 years ago
moneromooo-monero
84c82cd775
wallet: better tx input selection
...
We try to avoid related inputs, when possible
8 years ago
moneromooo-monero
1e21651f24
rct: use the already defined H where possible
...
Found by luigi1111w
8 years ago
moneromooo-monero
07d353dfc6
wallet: handle 0 change properly
...
With RCT, we allow 0 size outputs, to try and encourage txes
with two inputs and two outputs. Consolidation would then
have two non zero inputs, one zero output, and one larger
output.
8 years ago
moneromooo-monero
e81a2b2cfa
port get_tx_key/check_tx_key to rct
8 years ago
moneromooo-monero
a4d4d6194b
integrate simple rct api
8 years ago
moneromooo-monero
1e8d37e7d8
serialization: add override for serializing bool
8 years ago