redfish
21dbc95b47
crypto: slow-hash: fix misleading indent
...
GCC warned about this one.
8 years ago
redfish
70f363401b
crypto: slow-hash: remove unused hash list for ARM
...
This list is already defined within the function. The
removed definition was shadowed.
8 years ago
redfish
1a7772fbae
crypto: oaes_lib: remove unused _NR array
8 years ago
redfish
6462a3a6db
crypto: fix compile error: use named type in sizeof
...
Btw, the warning 4200 remains disabled, but it did not get triggered
(GCC 6.1.1, ARM). But, perhaps a better way than disabling
the warning would be to do what is suggested here:
http://stackoverflow.com/questions/3350852/how-to-correctly-fix-zero-sized-array-in-struct-union-warning-c4200-without%3E
8 years ago
Riccardo Spagni
a837c9cb0f
Merge pull request #842
...
d539be3
crypto: make clear generate_random_bytes is not thread safe (moneromooo-monero)
8 years ago
Riccardo Spagni
f03def87ad
Merge pull request #840
...
1c0bffb
Restrict also 'get_connections' and 'getbans' APIs. (osensei)
9f8bc49
Don't allow 'flush_txpool' and 'setbans' JSON_RPC methods when running in restricted mode. (osensei)
8 years ago
Riccardo Spagni
e54e4d96a4
Merge pull request #831
...
9ef8c7b
tests: fix tests broken by the removal of the block reward accumulation loop (moneromooo-monero)
a6e717e
cn_deserialize: deserialize tx_extra too (moneromooo-monero)
3eff37f
unit_tests: add a write_varint/read_varint test (moneromooo-monero)
7a66387
unit_tests: fix UNBOUND_LIBRARIES/UNBOUND_LIBRARY typo (moneromooo-monero)
d6bce4b
core: move tx_extra parsing errors to log level 1 (moneromooo-monero)
8 years ago
Riccardo Spagni
ae205020f6
Merge pull request #827
...
f1e70d1
Only log 1/N skipped blocks (Howard Chu)
cebb97c
Move refresh height to keys file from cache file (Howard Chu)
590c439
Make fast_refresh interruptible (Howard Chu)
687855d
Set refresh height earlier (Howard Chu)
2fb00c0
Fix 19fe8ae3ef
(Howard Chu)
8 years ago
osensei
1c0bffb5f0
Restrict also 'get_connections' and 'getbans' APIs.
8 years ago
Ilya Kitaev
40087a745f
WalletListener::moneySpent test
8 years ago
moneromooo-monero
d539be3359
crypto: make clear generate_random_bytes is not thread safe
...
And add a thread safe version to encourage proper use
8 years ago
osensei
9f8bc4946b
Don't allow 'flush_txpool' and 'setbans' JSON_RPC methods when running in restricted mode.
8 years ago
Ilya Kitaev
27d86b73c6
WalletListener::moneySpent(), WalletListener::moneyReceived()
8 years ago
Ilya Kitaev
ff52c67aa9
i_wallet_callback: virtual dtor
8 years ago
Ilya Kitaev
2d799097ca
Merge remote-tracking branch 'upstream/master'
8 years ago
Ilya Kitaev
5dbd2b8fc3
started WalletListener
8 years ago
Ilya Kitaev
71131a84ea
TransactionHistory continued
8 years ago
moneromooo-monero
9ef8c7b694
tests: fix tests broken by the removal of the block reward accumulation loop
...
The tests for rejection of unmixable outputs in v2 are commented out,
as there are no unmixable outputs created anymore. This should be
restored at some point.
8 years ago
moneromooo-monero
a6e717ed30
cn_deserialize: deserialize tx_extra too
8 years ago
moneromooo-monero
d6bce4be36
core: move tx_extra parsing errors to log level 1
...
They're not fatal, though indicate something wrong
8 years ago
Riccardo Spagni
30dce45643
Merge branch 'performance' of https://github.com/LMDB/bitmonero
8 years ago
Howard Chu
f1e70d15ca
Only log 1/N skipped blocks
8 years ago
Howard Chu
cebb97c913
Move refresh height to keys file from cache file
8 years ago
Howard Chu
590c43988c
Make fast_refresh interruptible
8 years ago
Howard Chu
687855d658
Set refresh height earlier
...
Do it before the generate() call so the value actually gets stored.
8 years ago
Ilya Kitaev
93119344ec
TransactionHistory continued
8 years ago
Riccardo Spagni
8b0d22a2aa
Merge pull request #826
...
76c6bf1
simplewallet: display all settings on set with no arguments (moneromooo-monero)
8 years ago
Riccardo Spagni
5b734c2a3a
Merge pull request #825
...
513a658
add a --max-concurrency flag (moneromooo-monero)
8 years ago
Howard Chu
2fb00c0666
Fix 19fe8ae3ef
...
Don't prompt for restore-height on generate-new-wallet
8 years ago
moneromooo-monero
e409e59d29
Print stack trace on exceptions
...
if libunwind is found.
Useful for debugging logs.
8 years ago
moneromooo-monero
76c6bf1875
simplewallet: display all settings on set with no arguments
8 years ago
moneromooo-monero
513a658c87
add a --max-concurrency flag
...
It sets the max number of threads to use for a parallel job.
This is different that the number of total threads, since monero
binaries typically start a lot of them.
8 years ago
moneromooo-monero
09dddf281a
wallet: add a filter_by_height field to get_transfers
...
It allows a simple get_transfers (with default 0 min_height and
max_height) to return all transactions, instead of the unexpected
set of txes in block 0, which is probably none at all.
8 years ago
Riccardo Spagni
bdb93cbf3d
Merge pull request #823
...
a687e6e
simplewallet: fix pending transfers fee display in show_transfers (moneromooo-monero)
8 years ago
Riccardo Spagni
29b2cfa3d9
Merge pull request #822
...
48ab3f9
wallet: add get_transfers rpc call (moneromooo-monero)
8 years ago
moneromooo-monero
a687e6e592
simplewallet: fix pending transfers fee display in show_transfers
8 years ago
moneromooo-monero
d7bb1752eb
simplewallet: more threading fixes
8 years ago
moneromooo-monero
48ab3f93ff
wallet: add get_transfers rpc call
...
Allows getting in, out, pending, and failed transfers, similarly
to the show_transfers command.
8 years ago
moneromooo-monero
7baed9bd89
wallet: allow attaching notes to txids
8 years ago
moneromooo-monero
ce6f8a6324
wallet: add GMT timestamps to transfers/payments
8 years ago
Riccardo Spagni
3d984854a6
Merge pull request #819
...
31587bd
random: call abort(3) instead of assert in must_succeed macro (moneromooo-monero)
8 years ago
Riccardo Spagni
cde9dce9c4
Merge pull request #817
...
4b1c0d6
simplewallet: some background refresh threading fixes (moneromooo-monero)
8 years ago
Riccardo Spagni
714dcc2866
Merge pull request #815
...
b0850a9
wallet: add a new sweep_all command and RPC command (moneromooo-monero)
8 years ago
Riccardo Spagni
7098ad6804
Merge pull request #814
...
68cbe15
modified: src/wallet/wallet2.cpp modified: src/wallet/wallet2.h (awfulcrawler)
4b325bd
modified: src/simplewallet/simplewallet.cpp modified: src/wallet/wallet2.cpp modified: src/wallet/wallet2.h (awfulcrawler)
8 years ago
Riccardo Spagni
fbfb8f46a9
Merge pull request #813
...
70c8656
blockchain: add missing overflow check for already generated coins (moneromooo-monero)
d6fd6be
blockchain: update cumulative block limit when popping a block (moneromooo-monero)
8 years ago
Riccardo Spagni
0fb0e7701b
Merge pull request #812
...
3102feb
abstract_tcp_server2: fix send queue limit warning spam (moneromooo-monero)
6bca9a8
abstract_tcp_server2: avoid deadlock waiting for send queue to drain (moneromooo-monero)
7450656
net_node: fix connection leak when ping fails with bad response (moneromooo-monero)
8 years ago
Riccardo Spagni
0922ae2b43
Merge pull request #811
...
672162d
tests: fix compile failure on wallet2::transfer (moneromooo-monero)
b0c18ef
wallet2: move output selection api public (moneromooo-monero)
8 years ago
Ilya Kitaev
566166aafd
merged with upstream
8 years ago
Ilya Kitaev
dce5374660
Merge remote-tracking branch 'upstream/master' into develop
8 years ago
Howard Chu
2b0fa05f0d
Another take on migration
...
Delete old indices and recreate them, rather than updating them
Maybe not quite as slow as before.
8 years ago
moneromooo-monero
31587bdd15
random: call abort(3) instead of assert in must_succeed macro
...
Avoids silent use of bad RNG in release builds, in case those
calls might actually fail.
Reported by smooth.
8 years ago
Ilya Kitaev
53a97bdcd3
Wallet API: transaction history in progress
8 years ago
Ilya Kitaev
02c9df5de2
Wallet API : transaction history in progress
8 years ago
moneromooo-monero
4b1c0d69f4
simplewallet: some background refresh threading fixes
...
We want to lock operations which access the blockchain in
wallet2. We also want the background refresh to happen again
when we cancel a foreground refresh. Wrap the locking setup
in a macro so it doesn't get copy/pasted/mangled, and use
a scope exit trick to ensure it's always properly restored.
8 years ago
Ilya Kitaev
a213887476
transaction history api in progress
8 years ago
Ilya Kitaev
b6aaf53a60
transaction history api in progress
8 years ago
Ilya Kitaev
f83f3cbd96
api implementation splitted over separate files
8 years ago
moneromooo-monero
b0850a9bea
wallet: add a new sweep_all command and RPC command
...
This sends all outputs in a wallet to a given address, alleviating
the difficulty people have had trying to send all monero but
being left with some small amount left.
8 years ago
Ilya Kitaev
4e1c2dc365
TransactionInfo / TransactionHistory APIs design
8 years ago
awfulcrawler
68cbe1579e
modified: src/wallet/wallet2.cpp
...
modified: src/wallet/wallet2.h
Removed working comments
8 years ago
awfulcrawler
4b325bdb66
modified: src/simplewallet/simplewallet.cpp
...
modified: src/wallet/wallet2.cpp
modified: src/wallet/wallet2.h
Update to fix unconfirmed balance and give a slightly more verbose and informative confirmation message for transfers
8 years ago
Howard Chu
19fe8ae3ef
Add --restore-height option
...
For specifying the block height from which to start a restore
8 years ago
Howard Chu
b6e42c3276
Speed up new wallet refresh
...
Use the current blockchain height as the refresh_from_block_height.
8 years ago
Howard Chu
b7140daea2
Add GET_HASHES_FAST rpc, use it in wallet
...
When m_refresh_from_block_height has been set, only hashes will be
retrieved up to that height, instead of full blocks. The same will
be done for "refresh <height>" when the specified height is beyond
the current local blockchain.
8 years ago
moneromooo-monero
70c86561af
blockchain: add missing overflow check for already generated coins
...
When reaching the tail emission phase, the amount of coins will
eventually go over MONEY_SUPPLY, overflowing 64 bits. There was
a check added to blockchain_storage, but this was not ported to
the blockchain DB version.
Reported by smooth.
8 years ago
moneromooo-monero
d6fd6be5de
blockchain: update cumulative block limit when popping a block
...
Avoids possible issues with accepting a tx too large to fit
in an actual block.
Reported by smooth.
8 years ago
moneromooo-monero
7450656bf3
net_node: fix connection leak when ping fails with bad response
...
If there is no comms error, but the response is not as expected,
close would not be called.
8 years ago
moneromooo-monero
b0c18ef9cd
wallet2: move output selection api public
8 years ago
Riccardo Spagni
1c66fe04bc
Merge pull request #803
...
c33ffc8
simplewallet: save fixes in RPC mode (moneromooo-monero)
8 years ago
Riccardo Spagni
0ecb152810
Merge pull request #785
...
1a58d20
simplewallet: optional address in --generate-from-json (moneromooo-monero)
8 years ago
Riccardo Spagni
8f78f1407e
Merge pull request #784
...
087373e
Fix potential race with parallel processing of txes/signatures/blocks (moneromooo-monero)
8 years ago
Riccardo Spagni
6bfb8799c3
Merge pull request #783
...
48d0747
wallet: better output selection for transfer/transfer_new (moneromooo-monero)
8 years ago
Riccardo Spagni
17049fa8e8
Merge pull request #782
...
113cdc1
core: keep the acc loop for the genesis block (moneromooo-monero)
8 years ago
Riccardo Spagni
a299e5269b
Merge pull request #801
...
ed61a2c
simplewallet: set strict umask at start (moneromooo-monero)
7385c03
util: add a function to set umask to 077 (moneromooo-monero)
8 years ago
Riccardo Spagni
784a2108f4
Merge pull request #800
...
4cfb4df
blockchain: remove the tx validation result cache (moneromooo-monero)
8 years ago
Riccardo Spagni
c2e9866fc6
Merge pull request #797
...
d662ab5
rpc: print human readable time since received when printing pool (moneromooo-monero)
5c9dd23
rpc: add a do_not_relay boolean to tx submission (moneromooo-monero)
8 years ago
Riccardo Spagni
da277e17b5
Merge pull request #796
...
d817aec
tx_pool: ensure no txes that fail check_inputs get in the block template (moneromooo-monero)
8 years ago
Ilya Kitaev
1774d9574b
TODOs for Transaction/Transfer interface
8 years ago
moneromooo-monero
c33ffc8e94
simplewallet: save fixes in RPC mode
...
^C when in RPC mode would not save the wallet while it was still
refreshing after starting up.
Also, save the wallet out of the signal handler. We don't want
to call complex stuff in a signal handler.
8 years ago
moneromooo-monero
f17b2f42b2
rpc: add pool/blockchain and block height results to gettransactions
8 years ago
Howard Chu
c14f9efd52
Migration
...
Migrate from DB version 0 to version 1 on startup
8 years ago
moneromooo-monero
ed61a2ccc1
simplewallet: set strict umask at start
8 years ago
moneromooo-monero
7385c036bd
util: add a function to set umask to 077
...
Useful to ensure files are written without group/other read rights.
8 years ago
moneromooo-monero
4cfb4dff3e
blockchain: remove the tx validation result cache
...
As pointed out by smooth, a transaction's validity may change
over time as the blockchain changes.
8 years ago
Ilya Kitaev
d97e9ef8a5
Transaction API continued
8 years ago
moneromooo-monero
1aad759bf1
tx_pool: fix (hopefully) save/load of kept_by_block
8 years ago
Howard Chu
d7ea7d9a23
Merge branch 'performance' into master
8 years ago
Howard Chu
372acee723
Cleanup
...
drop obsolete remove_output()
fix get_output_key(global), fix crash in blockchain_dump
8 years ago
Howard Chu
591e421875
Cleanup and clarify
...
Try to rationalize the variable names, document usage.
8 years ago
Howard Chu
b2f1c58805
Use cursors in some remove functions
...
Helps when they're called repeatedly in one txn
8 years ago
Howard Chu
118dd69dd5
Use DUPFIXED for block_info and output_txs
...
Saves another ~150MB or so on the full blockchain
8 years ago
Howard Chu
6225716f3c
More outputs consolidation
...
Also bumped DB VERSION to 1
Another significant speedup and space savings:
Get rid of global_output_indices, remove indirection from output to keys
This is the change warptangent described on irc but never got to finish.
8 years ago
Howard Chu
7c5abdc3a3
Use DUPFIXED for output_keys
...
Saves another 90MB on 200000 block import.
Had to bring back compare_uint64 for this, but it's safe since
this table is always 64-bit aligned.
8 years ago
Howard Chu
8e9d8e3364
Use DUPFIXED for tx_indices
...
Small space savings, no measurable speedup
8 years ago
Howard Chu
a12f9365f8
Use DUPFIXED for block_heights
...
Only a small savings...
8 years ago
Howard Chu
38c2277d6f
Use DUPFIXED for spent_keys
8 years ago
warptangent
bf769c32ba
Add back changes from revert.
...
m_tx_outputs doesn't need to be changed, as it's no longer dup list.
8 years ago
warptangent
46b991b362
Use MDB_APPEND mode with two tx subdbs
...
This is possible on those using a tx index as a key.
8 years ago
warptangent
9aadedb1d0
Schema update: tx_indices - consolidate the tx subdbs from 5 to 3
8 years ago
warptangent
a2f518aa01
Schema update: tx_indices - yet less indirection
8 years ago
warptangent
8d12a8df2c
Schema update: tx_indices - improve further with less indirection
8 years ago
warptangent
7c013f66e9
Add batch warning for further review
8 years ago
warptangent
ae0854a431
Schema update: tx_indices
8 years ago
Howard Chu
8d252a4214
Consolidated block info
8 years ago
warptangent
132c666f67
Update schema for "tx_outputs" to use array containing amount output indices
...
This speeds up wallet refresh by directly retrieving a tx's amount output indices.
It removes the indirection and walking the amount output duplicate list
for every amount in each requested tx.
"tx_outputs" is used by:
Amount output indices are needed for wallet refresh.
Global output indices are needed for removing a tx.
Both amount output indices and global output indices are now stored in
an array of 64-bit unsigned ints:
tx_outputs[<tx_hash>] -> [ <a1_oi, a1_gi, a2_oi, a2_gi, ...> ]
Previously it was:
tx_outputs[<tx_hash>] -> duplicate list of <a1_gi, a2_gi, a3_gi, ...>
The amount output list had to be walked for every amount in order to
find each amount's output index, by comparing the amount's global output
index with each one in the duplicate list until a match was found.
See also d045dfa7ce
8 years ago
warptangent
309f8f3d44
blockchain_utilities: Update documentation
8 years ago
luigi1111
7ac1db42c2
get_payments short ID
...
Add support for short/integrated/encrypted IDs to get_payments RPC
8 years ago
moneromooo-monero
d662ab5cec
rpc: print human readable time since received when printing pool
8 years ago
moneromooo-monero
5c9dd23b1c
rpc: add a do_not_relay boolean to tx submission
...
Just to make it easier
8 years ago
Ilya Kitaev
079fbd3d42
Wallet::createTransaction API introduced
8 years ago
moneromooo-monero
d817aeca80
tx_pool: ensure no txes that fail check_inputs get in the block template
8 years ago
Ilya Kitaev
ee5bb17f26
Wallet::transfer() continued
8 years ago
Ilya Kitaev
c37c856d6d
Wallet::transfer in progress
8 years ago
moneromooo-monero
1a58d202b2
simplewallet: optional address in --generate-from-json
...
When present, it can be used to validate the keys, as well
as deduce the spend key, if it is absent (watch wallet).
8 years ago
moneromooo-monero
087373eccf
Fix potential race with parallel processing of txes/signatures/blocks
8 years ago
moneromooo-monero
48d0747d00
wallet: better output selection for transfer/transfer_new
...
This now requests the set of outputs that can be mixed first,
to avoid trying non dust but unmixable outputs, which we know
will fail.
8 years ago
moneromooo-monero
113cdc10a2
core: keep the acc loop for the genesis block
...
For unknown reasons, it was generated with a block reward
consisting of a single large dusty output.
8 years ago
Riccardo Spagni
a42e19e1b7
bumped version number
8 years ago
Riccardo Spagni
cc54e2764a
Merge pull request #779
...
daac1cc
core: remove the block reward accumulation loop (moneromooo-monero)
8 years ago
Riccardo Spagni
dea1aa75bc
Merge pull request #778
...
efbdde2
Detect map resize failures (Howard Chu)
8 years ago
Riccardo Spagni
ab43e80331
Merge pull request #777
...
8757e46
add blockhashing blob to getblocktemplate (Howard Chu)
8 years ago
Riccardo Spagni
b22f550c67
Merge pull request #772
...
ead6956
simplewallet: always gracefully exit on EOF (moneromooo-monero)
8 years ago
Riccardo Spagni
4ac6bdbb3f
Merge pull request #769
...
b4eada9
wallet: make load_keys check types when loading JSON (moneromooo-monero)
3e55725
wallet: make the JSON reading type safe (moneromooo-monero)
f8d05f3
common: new json_util.h (moneromooo-monero)
8 years ago
Riccardo Spagni
a38ad63f8f
Merge pull request #767
...
24b3e90
Convey tx verification failure reasons to the RPC client (moneromooo-monero)
8 years ago
Riccardo Spagni
f68670a80e
Merge pull request #766
...
77d1c6b
simplewallet: default to trusted daemon for loopback address (moneromooo-monero)
8 years ago
Riccardo Spagni
44559ca4b0
Merge pull request #764
...
f746c9d
minor corrections/clarifications (Thomas Winget)
c6bb201
Transaction pool documentation (and some cleanup) (Thomas Winget)
8 years ago
moneromooo-monero
daac1cc259
core: remove the block reward accumulation loop
...
This can generate non decomposed outputs for very large block
rewards (or not so large ones if a miner decides to not quantize
the block rewards). Out of an abundance of caution, we refuse
to generate those. They are still accepted by the consensus code,
however.
8 years ago
Ilya Kitaev
830c19c934
Wallet::refresh + tests
8 years ago
Ilya Kitaev
1ae9cdc6bf
"testnet" is default parameter
8 years ago
Ilya Kitaev
2157a9ac48
testnet option, Wallet::balance(), Wallet::unlockedBalance()
8 years ago
Ilya Kitaev
df6026182a
Merge remote-tracking branch 'upstream/master'
8 years ago
Howard Chu
efbdde2c66
Detect map resize failures
8 years ago
Thomas Winget
f746c9d01b
minor corrections/clarifications
8 years ago
Howard Chu
8757e46b78
add blockhashing blob to getblocktemplate
8 years ago
moneromooo-monero
ead6956080
simplewallet: always gracefully exit on EOF
8 years ago
moneromooo-monero
ef4ff4252a
connection_basic: avoid gratuitous exception
...
The remote endpoint is usually invalid, so use a version of the
call that returns an error code instead.
8 years ago
moneromooo-monero
878ab5d896
wallet: fix --generate-from-keys saving as watch only
8 years ago
moneromooo-monero
b4eada907c
wallet: make load_keys check types when loading JSON
8 years ago
moneromooo-monero
3e557254c7
wallet: make the JSON reading type safe
8 years ago
moneromooo-monero
f8d05f3cd9
common: new json_util.h
...
With code to help factor out reading typed fields from JSON
8 years ago
Riccardo Spagni
2b57845766
Merge pull request #765
...
d5d46e6
tests: obligatory hardfork unit build fix after interface change (moneromooo-monero)
25672d3
wallet: pass std::function by const ref, not value (moneromooo-monero)
0be6e08
wallet: do not leak owned amounts to the daemon unless --trusted-daemon (moneromooo-monero)
12146da
wallet: change sweep_dust to sweep_unmixable (moneromooo-monero)
600a3cf
New RPC and daemon command to get output histogram (moneromooo-monero)
f9a2fd2
wallet: handle rare case where fee adjustment can bump to the next kB (moneromooo-monero)
f26651a
wallet: factor fee calculation (moneromooo-monero)
8 years ago
moneromooo-monero
24b3e9007a
Convey tx verification failure reasons to the RPC client
...
This allows appropriate action to be taken, like displaying
the reason to the user.
Do just that in simplewallet, which should help a lot in
determining why users fail to send.
Also make it so a tx which is accepted but not relayed is
seen as a success rather than a failure.
8 years ago
moneromooo-monero
77d1c6b672
simplewallet: default to trusted daemon for loopback address
8 years ago
moneromooo-monero
25672d3f10
wallet: pass std::function by const ref, not value
...
Because we can.
8 years ago
moneromooo-monero
0be6e08dd0
wallet: do not leak owned amounts to the daemon unless --trusted-daemon
...
This will be slower, though more private.
New trusted_daemon parameter to the matching RPC call, false by default.
8 years ago
moneromooo-monero
12146daeed
wallet: change sweep_dust to sweep_unmixable
...
With the change in mixin rules for v2, the "annoying" outputs are
slightly changed. There is high correlation between dust and
unmixable, but no equivalence.
8 years ago
moneromooo-monero
600a3cf0c0
New RPC and daemon command to get output histogram
...
This is a list of existing output amounts along with the number
of outputs of that amount in the blockchain.
The daemon command takes:
- no parameters: all outputs with at least 3 instances
- one parameter: all outputs with at least that many instances
- two parameters: all outputs within that many instances
The default starts at 3 to avoid massive spamming of all dust
outputs in the blockchain, and is the current minimum mixin
requirement.
An optional vector of amounts may be passed, to request
histogram only for those outputs.
8 years ago
moneromooo-monero
f9a2fd2ff5
wallet: handle rare case where fee adjustment can bump to the next kB
...
It resulted in a tx being sent with too low a fee, and thus rejected.
8 years ago
moneromooo-monero
f26651ab8a
wallet: factor fee calculation
8 years ago
moneromooo-monero
b8527668ff
blockchain: for v3, require miner tx to have well behaved outs
...
This was meant to go in v2, but the miner tx slipped through
the cracks as it doesn't go through the main tx verification
since it doesn't get added to the pool.
8 years ago
moneromooo-monero
97638b1fb7
core: fix miner tx block reward with fees
8 years ago
Ilya Kitaev
8790904cf9
- testnet option added to api;
8 years ago
Riccardo Spagni
287e88283c
remove connectivity tool, comment it out from munin plugins too
8 years ago
Riccardo Spagni
0d30b65785
Merge pull request #749
...
bfd4a28
Update BlockchainDB documentation (Thomas Winget)
797357e
Change Doxyfile, Blockchain not blockchain_storage (Thomas Winget)
c835215
remove defunct code from cryptonote::core (Thomas Winget)
50dba6d
cryptonote::core doxygen documentation (Thomas Winget)
8ac329d
doxygen documentation for difficulty functions (Thomas Winget)
540a76c
Move checkpoint functions into checkpoints class (Thomas Winget)
1b0c98e
doxygen documentation for checkpoints.{h,cpp} (Thomas Winget)
89c24ac
Remove unnecessary or defunct code (Thomas Winget)
ab0ed14
doxygen include private and static members (Thomas Winget)
3a48449
Updated documentation for blockchain.* (Thomas Winget)
8 years ago
Riccardo Spagni
01e0a69c17
Revert "Merge pull request #749"
...
This reverts commit 7fa63a82a1
, reversing
changes made to cb6be986c3
.
8 years ago
Riccardo Spagni
40b8a5f327
Merge pull request #756
...
a2e378b
wallet: add a --generate-from-json flag (moneromooo-monero)
8 years ago
Riccardo Spagni
7fa63a82a1
Merge pull request #749
...
bfd4a28
Update BlockchainDB documentation (Thomas Winget)
797357e
Change Doxyfile, Blockchain not blockchain_storage (Thomas Winget)
c835215
remove defunct code from cryptonote::core (Thomas Winget)
50dba6d
cryptonote::core doxygen documentation (Thomas Winget)
8ac329d
doxygen documentation for difficulty functions (Thomas Winget)
540a76c
Move checkpoint functions into checkpoints class (Thomas Winget)
1b0c98e
doxygen documentation for checkpoints.{h,cpp} (Thomas Winget)
89c24ac
Remove unnecessary or defunct code (Thomas Winget)
ab0ed14
doxygen include private and static members (Thomas Winget)
3a48449
Updated documentation for blockchain.* (Thomas Winget)
8 years ago
Riccardo Spagni
cb6be986c3
Merge pull request #748
...
cc4b19c
blockchain: fix partial block reward detection (moneromooo-monero)
8 years ago
moneromooo-monero
a2e378b91b
wallet: add a --generate-from-json flag
...
It takes a filename containing JSON data to generate a wallet.
The following fields are valid:
version: integer, should be 1
filename: string, path/filename for the newly created wallet
scan_from_height: 64 bit unsigned integer, optional
password: string, optional
viewkey: string, hex representation
spendkey: string, hex representation
seed: string, optional, list of words separated by spaces
Either seed or private keys should be given. If using private
keys, the spend key may be omitted (the wallet will not be
able to spend, but will see incoming transactions).
If scan_from_height is given, blocks below this height will not
be checked for transactions as an optimization.
8 years ago
Thomas Winget
c6bb201a07
Transaction pool documentation (and some cleanup)
...
tx_pool.h doxygen documentation completed.
Many notes made on areas for improvement, be that functionality or
code clarity.
Commented code and unused code removed.
8 years ago
Thomas Winget
bfd4a28c41
Update BlockchainDB documentation
...
BlockchainDB is now Doxygen-compliant and its documentation is
up-to-date with recent changes.
8 years ago
Thomas Winget
c835215ea9
remove defunct code from cryptonote::core
8 years ago
Thomas Winget
50dba6d301
cryptonote::core doxygen documentation
8 years ago
Thomas Winget
8ac329df02
doxygen documentation for difficulty functions
8 years ago
Thomas Winget
540a76c5c2
Move checkpoint functions into checkpoints class
...
The functions in src/cryptonote_core/checkpoints_create.{h,cpp} should
be member functions of the checkpoints class, if nothing else for the
sake of keeping their documentation together.
This commit covers moving those functions to be member functions of the
checkpoints class as well as documenting those functions.
8 years ago
Thomas Winget
1b0c98e7e9
doxygen documentation for checkpoints.{h,cpp}
...
All functions in src/cryptonote_core/checkpoints.h are now documented in
doxygen style.
checkpoints.cpp has been reviewed, one function has been marked for
discussion on correctness.
8 years ago
Thomas Winget
89c24ac2be
Remove unnecessary or defunct code
8 years ago
Thomas Winget
3a484497bc
Updated documentation for blockchain.*
...
All functions are now documented in doxygen format. Comments have been
updated to reflect the current state of the code. Many areas for
improvement in clarity and design have been noted, as well as cruft to
be removed. These changes are not reflected in this commit both to
allow time for comment and to keep commits organized by purpose.
8 years ago
moneromooo-monero
cc4b19c32e
blockchain: fix partial block reward detection
8 years ago
Riccardo Spagni
8438aeb740
update version number
8 years ago
Ilya Kitaev
2cce32995b
wallet2::store() implemented within wallet2::store_to
8 years ago
Riccardo Spagni
bdc07f029a
Merge pull request #743
...
a1c3829
also maybe do the block height this time, you know, just so that it actually works. (Riccardo Spagni)
8 years ago
Riccardo Spagni
a1c38299b3
also maybe do the block height this time, you know, just so that it actually works.
8 years ago
Riccardo Spagni
93c2c1b4ba
Merge pull request #742
...
23d1538
also update the timestamp for the hard fork (Riccardo Spagni)
8 years ago
Riccardo Spagni
23d1538fe7
also update the timestamp for the hard fork
8 years ago
Riccardo Spagni
def05d6353
Merge pull request #741
...
eda51a0
set fork date for September, add hyc's GPG key, remove aabramov's (Riccardo Spagni)
8 years ago
Riccardo Spagni
eda51a0dc3
set fork date for September, add hyc's GPG key, remove aabramov's
8 years ago
moneromooo-monero
f7301c3563
Revert "Print stack trace upon exceptions"
...
Ain't nobody got time for link/cmake skullduggery.
This reverts commit fff238ec94
.
8 years ago
Riccardo Spagni
37fbb7a8b7
Merge pull request #738
...
79117d4
db_lmdb: include the error codes from lmdb api in error logs (moneromooo-monero)
8 years ago
Riccardo Spagni
ec4186a30c
Merge pull request #737
...
1c3ed4c
cryptonote_protocol: clarify height wording (moneromooo-monero)
8 years ago
Riccardo Spagni
9b10e9cc75
Merge pull request #735
...
d2aa427
rpc: fix print_tx in command line mode (moneromooo-monero)
8 years ago
Riccardo Spagni
f63b945d28
Merge pull request #734
...
b525457
simplewallet: make --password-file work in RPC mode (moneromooo-monero)
8 years ago
moneromooo-monero
79117d4275
db_lmdb: include the error codes from lmdb api in error logs
8 years ago
moneromooo-monero
1c3ed4c9da
cryptonote_protocol: clarify height wording
...
It's logging the blockchain height, not the top block height
8 years ago
moneromooo-monero
d2aa427c78
rpc: fix print_tx in command line mode
...
It was only filling the input in non rpc mode
8 years ago
moneromooo-monero
b525457061
simplewallet: make --password-file work in RPC mode
8 years ago
moneromooo-monero
fff238ec94
Print stack trace upon exceptions
...
Useful for debugging users' logs
8 years ago
Howard Chu
db1b2db4d5
Reduce log noise
8 years ago
Howard Chu
9b3e43c327
Fix issue #706
8 years ago
Riccardo Spagni
435b6e4e32
bump the version
8 years ago
Riccardo Spagni
e4c2e9e5e0
baked-in block headers now go all the way up to 1 million. 1 MILLION
8 years ago
Riccardo Spagni
4d34682883
Merge pull request #728
...
7df2baf
fixed "undefined reference" for boost::system library (Ilya Kitaev)
62606f1
Wallet::store_to(path, password) implemented; (Ilya Kitaev)
19fcc74
Wallet::address implemented (Ilya Kitaev)
180ac6e
WalletManager::recoveryWallet implemented (Ilya Kitaev)
5a4f099
Wallet::setPassword() method for wallet2_api (Ilya Kitaev)
57d7ffc
changes in wallet2_api + implemented WalletManager::openWallet (Ilya Kitaev)
f1f9279
get_seed() included to interface (Ilya Kitaev)
930bed7
tests for wallet2_api (Ilya Kitaev)
318660d
wallet2 public api. initial commit (Ilya Kitaev)
8 years ago
Howard Chu
a74348e115
Add destructor for readtxns
...
Only if we created the readtxn. Was missing cleanups from exceptions before.
8 years ago
Ilya Kitaev
62606f11f5
Wallet::store_to(path, password) implemented;
8 years ago
Ilya Kitaev
19fcc74912
Wallet::address implemented
8 years ago
Ilya Kitaev
180ac6e438
WalletManager::recoveryWallet implemented
8 years ago
Ilya Kitaev
5a4f099540
Wallet::setPassword() method for wallet2_api
8 years ago
Ilya Kitaev
57d7ffc4d6
changes in wallet2_api + implemented WalletManager::openWallet
8 years ago
Ilya Kitaev
f1f9279d90
get_seed() included to interface
8 years ago
Ilya Kitaev
930bed7074
tests for wallet2_api
8 years ago