Commit Graph

522 Commits (master)

Author SHA1 Message Date
rbrunner7 f9d0827bba Fix broken interactive daemon 'limit' commands plus RPC calls
6 years ago
Riccardo Spagni 6189a775b0
Merge pull request #3636
6 years ago
stoffu 998c1461c3
daemon: read config file before reading any other args
6 years ago
moneromooo-monero 35d1269fac
daemon: add a version command
6 years ago
cryptochangements34 372ffeba21
Add a space in mining to testnet/stagenet string
6 years ago
stoffu 353e9c0c90
Core RPC: optionally add POW hash to block_header_response
6 years ago
moneromooo-monero 11c933e137
fix lambda compile error on openbsd
6 years ago
Dimitris Apostolou 57c0b1ed9f Fix typos in various files
6 years ago
stoffu af773211cb
Stagenet
6 years ago
whythat b3b2d4d20c options: add testnet option dependencies
6 years ago
whythat 05a12ccc2d options: remove testnet-* options
6 years ago
Riccardo Spagni bdf0339dda
Merge pull request #3181
6 years ago
Riccardo Spagni 04a676397f
Merge pull request #3165
6 years ago
Riccardo Spagni 381faf06c7
Merge pull request #3163
6 years ago
Riccardo Spagni 0bffd2ec64
Merge pull request #3161
6 years ago
Riccardo Spagni 5d36ed6613
Merge pull request #3094
6 years ago
stoffu 7539603f94
Bootstrap daemon
6 years ago
Maxithi a85dbb3f2f
Fixed typos and wording tweaks
6 years ago
Erik de Castro Lopo 628b78ae8a Fix in_peers/out_peers RPC operations
6 years ago
Erik de Castro Lopo 32c0f908cd Allow the number of incoming connections to be limited
6 years ago
xmr-eric 18216f19dd Update 2018 copyright
6 years ago
Riccardo Spagni 92826e3d8b
Merge pull request #3011
6 years ago
moneromooo-monero e3f0980a1d
daemon: don't drop RPC with busy error when running offline
6 years ago
moneromooo-monero 78a2e15bea
daemon: exit with 0 when successful
6 years ago
Jethro Grassie be1826c0fb
Keep readline optional
6 years ago
moneromooo-monero 776b44f17b
Add misc hardening flags to the cmake machinery
7 years ago
Riccardo Spagni 3bbe2481ce
Merge pull request #2946
7 years ago
Riccardo Spagni 95a687d584
Merge pull request #2945
7 years ago
stoffu 619bb7233b
daemon+simplewallet: given an unknown command, show it
7 years ago
moneromooo-monero b51dc56687
use const refs in for loops for non tiny types
7 years ago
moneromooo-monero a4240d9ffc
catch const exceptions
7 years ago
moneromooo-monero 1a686bf8cc
daemon: print num txes in print_bc
7 years ago
Riccardo Spagni 066fd7aced
Merge pull request #2877
7 years ago
moneromooo-monero 9e07ccf1f5
daemon: remove some superfluous includes
7 years ago
moneromooo-monero 4abf25f3c9
cryptonote_core does not depend on p2p anymore
7 years ago
moneromooo-monero 09ce03d612
move includes around to lessen overall load
7 years ago
Riccardo Spagni 3052dab81d
Merge pull request #2836
7 years ago
Cifrado 287dde63d8 Added command descriptions
7 years ago
Riccardo Spagni fbfdaae06f
Merge pull request #2807
7 years ago
Riccardo Spagni 49ce59462a
Merge pull request #2783
7 years ago
Tim L 23b6f685de RPC: allow binding of restricted port in addition to core port
7 years ago
stoffu 6171238416
daemon & simplewallet: don't set max-concurrency when unspecified
7 years ago
Riccardo Spagni edebe4e3b6
Merge pull request #2736
7 years ago
Howard Chu 0d9c0db996
Do not build against epee_readline if it was not built
7 years ago
moneromooo-monero 178014c995
split off readline code into epee_readline
7 years ago
moneromooo-monero a9e14a19dc
link against readline only for monerod and wallet-wallet-{rpc,cli}
7 years ago
moneromooo-monero e89994e98f
wallet: rejig to avoid prompting in wallet2
7 years ago
moneromooo-monero 082db75f28
move cryptonote command line options to cryptonote_core
7 years ago
moneromooo-monero 383ff4f689
remove "using namespace std" from headers
7 years ago
Riccardo Spagni fd0740e5e7
Merge pull request #2615
7 years ago
binaryFate 416a793326 Print msg upon success for commands that were silent
7 years ago
binaryFate 10013e9434 Protect node privacy by proper filtering in restricted-mode RPC answers
7 years ago
moneromooo-monero ccf53a566c
track double spending in the txpool
7 years ago
Riccardo Spagni 7452359d8f
Merge pull request #2591
7 years ago
Riccardo Spagni f484b162db
Merge pull request #2599
7 years ago
Riccardo Spagni 1280ba4f5b
Merge pull request #2589
7 years ago
Riccardo Spagni 147ecb6b7a
Merge pull request #2573
7 years ago
Riccardo Spagni c45f3ac4d9
Merge pull request #2568
7 years ago
moneromooo-monero 7130cf0c61
Add tools::on_startup, and warn about glibc 2.25 bug if found
7 years ago
binaryFate 93ad1f8723 Fix #2559: more flexible print_tx daemon command
7 years ago
moneromooo-monero b776c72568
daemon: use @N syntax to output_histogram for specific amounts
7 years ago
kenshi84 53ad5a0f42
Subaddresses
7 years ago
moneromooo-monero 8f0cea6355
add a command_line function to check for defaulted options
7 years ago
moneromooo-monero 7e7acdc32b
daemon: catch out of range exceptions too when calling stoll/stoi
7 years ago
Riccardo Spagni 3bab2676ec
Merge pull request #2512
7 years ago
Riccardo Spagni 3bf20a77f2
Merge pull request #2470
7 years ago
Riccardo Spagni 85f4b600d2
Merge pull request #2466
7 years ago
Riccardo Spagni 32bbe62120
Merge pull request #2456
7 years ago
Riccardo Spagni c2346c6c59
Merge pull request #2424
7 years ago
Riccardo Spagni b911130a46
Merge pull request #2442
7 years ago
moneromooo-monero 06c1e05735
daemon: initialize decode_as_json in RPC request
7 years ago
moneromooo-monero 792ba4f0fe
Log categories can now be added to and removed from
7 years ago
stoffu e29282d208
build: auto update version info without manually deleting version.h
7 years ago
stoffu c09aa94d34
daemon: indicate whether the spent key image is mined or unconfirmed
7 years ago
Riccardo Spagni 10d60d2524
Merge pull request #2414
7 years ago
MaxXor 2e59f6ea50 rpc: add new RPCs to get and set limits
7 years ago
Riccardo Spagni 591e53445b
Merge pull request #2044
7 years ago
moneromooo-monero bc429e9c6d
daemon: make this build with boost 1.61
7 years ago
selsta 91def9a59b daemon, wallet: add --max-log-file-size option
7 years ago
Matthew Campassi ea01633024 updated clarification bc_dyn_stats
7 years ago
Matthew Campassi 5aa2f24b2a clarification bc_dyn_stats
7 years ago
Thomas Winget 0299cb77ca
Fix various oversights/bugs in ZMQ RPC server code
7 years ago
Thomas Winget 77986023c3
json serialization for rpc-relevant monero types
7 years ago
Howard Chu 1181848748
Use latest height for fork date estimate
7 years ago
Riccardo Spagni ee1a766861
Merge pull request #2370
7 years ago
Riccardo Spagni 79a0defad7
Merge pull request #2310
7 years ago
moneromooo-monero a95e460c71
move db specific options to BlockchainDB
7 years ago
Riccardo Spagni 72b5f37f58
Merge pull request #2349
7 years ago
Riccardo Spagni ff0afc196e
Merge pull request #2313
7 years ago
moneromooo-monero 19393115dc
daemon: fix backlog estimating at max block size
7 years ago
moneromooo 4dbf29bd32
txpool: add tx size median to the pool stats
7 years ago
Riccardo Spagni 335681896a
Merge pull request #2311
7 years ago
moneromooo-monero 5524bc3151
print peer id in 0 padded hex for consistency
7 years ago
moneromooo-monero 679a5ab85b
daemon: print estimated tx backlog in print_pool_stats
7 years ago
Howard Chu 80344740bd
More DB support cleanup
7 years ago
Matthew Campassi ea996f91b5 clarification of parameters for print_coinbase_tx_sum
7 years ago
moneromooo-monero 42b34b3545
Consistently print peer id in hex and on 16 chars
7 years ago
moneromooo-monero 2ec15a6931
daemon: print peers' top height in sync_info
7 years ago
Riccardo Spagni 6db8a60a18
Merge pull request #2149
7 years ago
Riccardo Spagni 05c44db23b
Merge pull request #2244
7 years ago
Riccardo Spagni ea46a5527a
Merge pull request #2234
7 years ago
Riccardo Spagni 1ea75abd72
Merge pull request #2223
7 years ago
moneromooo-monero 5be43fcdba
cryptonote_protocol_handler: sync speedup
7 years ago
moneromooo-monero 328bebbe4b
daemon: some more include cleanup
7 years ago
moneromooo-monero 214fd81e93
some include cleanup
7 years ago
moneromooo-monero d37e8f8868
daemon: add average seconds per block in bc_dyn_stats
7 years ago
moneromooo-monero cb0b559451
Move OpenAlias console input back from libs
7 years ago
Riccardo Spagni c0f155d3a0
Merge pull request #2170
7 years ago
moneromooo-monero c3bb6becd9
daemon: fix status in command line mode if using restricted rpc
7 years ago
Howard Chu 8db68a57f5
Fix #2164 histogram output
7 years ago
Howard Chu 3fc22e7b78
Add histogram to poolstats
7 years ago
Howard Chu 5414970dcd
Speedup print_pool_stats
7 years ago
Riccardo Spagni a4c13ea092
Merge pull request #2039
7 years ago
Gentian 4b932ff314 changed crypto to cncrypto so it generated libcncrypto
7 years ago
xmr-eric 89e20bb9af Fix typo
7 years ago
Riccardo Spagni 9ed496bbc5
Merge pull request #1956
7 years ago
moneromooo-monero eb20f7209e
daemon: print average fee per byte in print_pool_stats
7 years ago
moneromooo-monero 37be70bbd7
daemon: add fee/byte when print pool transaction info
7 years ago
moneromooo-monero 548075b1f5
daemon: new relay_tx command and RPC
7 years ago
moneromooo-monero c94f8facf5
daemon: better error reporting in commands
7 years ago
Riccardo Spagni 4b34531307
Merge pull request #1897
7 years ago
moneromooo-monero d5fbfd677c
daemon: fix missing close parenthesis in alt_chain_info output
7 years ago
moneromooo-monero 63d7cd8882
daemon: alt_chain_info now prints fork depth
7 years ago
kenshi84 7d07c64fe5
fix dependency: put HardFork back to cryptonote_basic, made some BlockchainDB functions virtual again to avoid missing symbols error
7 years ago
Howard Chu 3964b30f2d
Add dependency for blocksdat.o
7 years ago
Riccardo Spagni 9e10fac223
Merge pull request #1814
7 years ago
Riccardo Spagni 1965c819f6
Merge pull request #1811
7 years ago
Riccardo Spagni 3787ffca80
Merge pull request #1804
7 years ago
moneromooo-monero 11a00df699
daemon: fix bc_dyn_stats via rpc
7 years ago
Nano Akron 378d2bb1ff
Revert attempt to write to console on daemon shutdown
7 years ago
moneromooo-monero 12adb4a3f3
core: move hardfork back to cryptonote_core
7 years ago
moneromooo-monero ea873ceb2c
daemon/rpc: updates command and RPC
7 years ago
moneromooo-monero 2b188151d4
daemon: avoid pre-log-init spew on creating directories
7 years ago
Miguel Herranz 3bdda60f3e Add print_pl_stats daemon command
7 years ago
Noah Watkins 44a5b03841 create a foreground non-interactive mode
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
moneromooo-monero 417b126fc4
Fix core_tests breaking on startup
7 years ago
Riccardo Spagni 826f49485e
Merge pull request #1716
7 years ago
Dion Ahmetaj 69ab14d91e More robust battery status handling.
7 years ago
moneromooo-monero b560ed4ac6
daemon: silence spurious warning about uninitialized variable
7 years ago
Riccardo Spagni b1df7f114d
Merge pull request #1711
7 years ago
moneromooo-monero cf2e75ebb3
daemon: fix crash on exit when mining
7 years ago
Dion Ahmetaj ad95e65028 Added a note about smart mining to status command. Fixed up a bug where I was resetting bg mining enabled instead of started. Upped the miner threshold. Also moved setting of enabled on start above miner thread creation since starting with true, then stopping, then starting with false resulted in race condition.
7 years ago
Dion Ahmetaj 345ed4823c Background/smart mining. If a users' computer is plugged into a power
7 years ago
Riccardo Spagni eacf2124b6 Merge pull request #1689
7 years ago
Riccardo Spagni 4feaa790e2
Merge pull request #1680
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago
Lee Clagett ce7fcbb4ae Add server auth to monerod, and client auth to wallet-cli and wallet-rpc
7 years ago
NanoAkron db0a5392a5
Clarify in/out connections for users
7 years ago
Miguel Herranz 03ff363982 Fix missing parentheses
7 years ago
Riccardo Spagni b01990124e
Merge pull request #1663
7 years ago
Riccardo Spagni f4fe39ca92
Merge pull request #1654
7 years ago
Miguel Herranz bbcc3a125f Add missing include
7 years ago
Riccardo Spagni 10bf54bfc9
Merge pull request #1628
7 years ago
NanoAkron 084aef700b
Added days uptime to the status message
7 years ago
NanoAkron 66665003bd
Clear feedback to user when daemon has stopped successfully
7 years ago
moneromooo-monero a39cd745c9
rpc: fix bc_dyn_stats not setting grace blocks
7 years ago
moneromooo-monero 5833d66f65
Change logging to easylogging++
7 years ago
Riccardo Spagni ec323d8c3f
Merge pull request #1561
7 years ago
Riccardo Spagni 10c6afd316
Merge pull request #1571
7 years ago
moneromooo-monero 81c384e408
fix do_not_relay not preventing relaying on a timer
7 years ago
Chris Vickio 3b6d5f255d make struct/class declarations consistent (mismatched-tags warning)
7 years ago
moneromooo-monero 5b5017e267
rpc: add a command to get info about the current blockchain
7 years ago
Miguel Herranz 19be7225cc Add start_time to get_info methods and show uptime
7 years ago
Riccardo Spagni 15dcc5afd3
Merge pull request #1534
8 years ago
moneromooo-monero 9731b4e54f
rpc: add block size to GET_BLOCK_HEADER RPC
8 years ago
kenshi84 99580adf66 make openalias also available for solo miner; introduce namespace tools::dns_utils; support integrated address with dns lookup
8 years ago
moneromooo-monero 55fa0479a0
rpc: new function and RPC to get alternative chain info
8 years ago
Dion Ahmetaj d61bd8187e add lightweight block propagation ("fluffy blocks")
8 years ago
moneromooo-monero eb4ecd442d
daemon: fix min/max tracking using the wrong size
8 years ago
moneromooo-monero 30946700a3
daemon: even when switching branches, compile the damn thing ffs
8 years ago
moneromooo-monero 2f4f6c7c26
daemon: do not divide by 0 when the pool is empty
8 years ago
Riccardo Spagni a0975e59ed
Merge pull request #1250
8 years ago
moneromooo-monero 839280d5fc
daemon: add a print_pool_stats daemon command
8 years ago
moneromooo-monero 10a79eae24
daemon: report transaction relay status in print_pool* commands
8 years ago
moneromooo-monero 88faec75fe
wallet: select part of the fake outs from recent outputs
8 years ago
Dion Ahmetaj 7db29d6903 print_coinbase_tx_sum now breaks output into fee and emission components
8 years ago
Dion Ahmetaj dd6c44327b changed params from start/end index to height/count
8 years ago
Dion Ahmetaj e95d3f359b attempted to remove whitespace spam
8 years ago
Dion Ahmetaj 412da63622 added print_coinbase_tx_sum option
8 years ago
Riccardo Spagni ab60c0503c
Merge pull request #1164
8 years ago
Riccardo Spagni 4cb1348548
Merge pull request #1139
8 years ago
Riccardo Spagni e34ef4de6c
Merge pull request #1171
8 years ago
Riccardo Spagni fa1d5efb5a
Merge pull request #1168
8 years ago
Riccardo Spagni 298a0723e8
Merge pull request #1149
8 years ago
Riccardo Spagni 8a67e3c95e
Merge pull request #1145
8 years ago
NanoAkron 8ed0d72b12
Moved logging to target functions rather than caller
8 years ago
NanoAkron 6390673137 Removed all code related to fast_exit
8 years ago
moneromooo-monero 179b1f43af
daemon: implement missing print_bc and matching RPC
8 years ago
NanoAkron 25be1d3ed4 Noticed two spellings of the word 'response' in the codebase, one 'responce' and the other 'response'.
8 years ago
NanoAkron 8438fb4ae3 Improving daemon startup log message
8 years ago
Randi Joseph 9e54616924 Dropped "bit" from bitmonero.
8 years ago
moneromooo-monero 8b4e7c6c9c
daemon: report status at 99.9% rather than 100% when not quite synced
8 years ago
moneromooo-monero eeb2bbc0fc
epee: optionally restrict HTTP service to a configurable user agent
8 years ago
redfish e1c7af35d4 cmake: transitive deps and remove deprecated LINK_*
8 years ago
moneromooo-monero 423776f9b1
daemon: log version when starting
8 years ago
Riccardo Spagni d4a533a800
Merge pull request #1068
8 years ago
Casey Marshall 0a56d83d3d Add snap packaging.
8 years ago
iDunk5400 f1381388ec Daemon: fix hashrate display in diff command output
8 years ago
Riccardo Spagni df63e0704a
fix remaining bitmonero and simplewallet bits
8 years ago
Riccardo Spagni 2e984bc23c
rename Monero daemon
8 years ago
Quanah Gibson-Mount 1d5ba65f3d Fix incorrect help usage for the threads option to start_mining
8 years ago
moneromooo-monero 7e4e0021f4
daemon: print time to next fork
8 years ago
redfish 0f990d0183 cmake,common: flag for stack trace
8 years ago
moneromooo-monero 78cc10f3fa
daemon: fix ban seconds being misinterpreted as absolute
8 years ago
moneromooo-monero 459ec6040e
daemon: print exception errors when failing to parse config file
8 years ago
Riccardo Spagni e97d96ccfb
Merge pull request #775
8 years ago
moneromooo-monero e409e59d29
Print stack trace on exceptions
8 years ago
moneromooo-monero 513a658c87
add a --max-concurrency flag
8 years ago
Riccardo Spagni c2e9866fc6
Merge pull request #797
8 years ago
moneromooo-monero f17b2f42b2
rpc: add pool/blockchain and block height results to gettransactions
8 years ago
moneromooo-monero d662ab5cec
rpc: print human readable time since received when printing pool
8 years ago
moneromooo-monero 600a3cf0c0
New RPC and daemon command to get output histogram
8 years ago
Riccardo Spagni 0d30b65785 Merge pull request #749
8 years ago
Riccardo Spagni 01e0a69c17 Revert "Merge pull request #749"
8 years ago
Thomas Winget 540a76c5c2
Move checkpoint functions into checkpoints class
8 years ago
moneromooo-monero f7301c3563
Revert "Print stack trace upon exceptions"
8 years ago
Riccardo Spagni 9b10e9cc75
Merge pull request #735
8 years ago
moneromooo-monero d2aa427c78
rpc: fix print_tx in command line mode
8 years ago
moneromooo-monero fff238ec94
Print stack trace upon exceptions
8 years ago
Mike C 5dd91f6332 fix formatting error on bitmonero print_block return
8 years ago
moneromooo-monero 5e3557d2c3
move g_test_dbg_lock_sleep from a global to a function level static
8 years ago
moneromooo-monero d9f4b395e8
daemon: remove leftover debug log
8 years ago
Riccardo Spagni 39d73d2a27
Merge pull request #631
8 years ago
moneromooo-monero bcac1018af
daemon: fix a few issues reported by valgrind
8 years ago
moneromooo-monero bf6d1474c0
new flush_txpool command, and associated RPC call
8 years ago
Riccardo Spagni afe2d1a09f
add received time to print_pool and print_pool_sh
8 years ago
binaryFate 0100e951d3 'max limit of...' is redundant wording, rephrase
9 years ago
binaryFate 80e38895b3 Print msg when successfully updating out_peers
9 years ago
moneromooo-monero eaf4dcd747
daemon: fix status command when run from command line
9 years ago
Riccardo Spagni 58dbc9d122
fixed conflicts
9 years ago
Howard Chu da0bce3472 Use CMAKE_LINKER, not hardcoded "ld"
9 years ago
moneromooo-monero 7f8e5ced47
daemon: fix ban length using wrong parameter
9 years ago
Riccardo Spagni 5c71f5d13e
update version
9 years ago
moneromooo-monero 1e07110a7a
Nicer looking exit when blockchain.bin is found
9 years ago
Riccardo Spagni de03926850
updated copyright year
9 years ago
Riccardo Spagni 40880d7cb8
Merge pull request #552
9 years ago
hyc 9428d53d6f Strip redundant includes
9 years ago
moneromooo-monero 0ab56b80db
print top block hash in daemon diff command
9 years ago
warptangent 725acc7f17
Replace tabs with two spaces for consistency with rest of codebase
9 years ago
moneromooo-monero fefc0b5556
daemon: fix crash exiting with ^C
9 years ago
Riccardo Spagni e175205e6e
Merge pull request #527
9 years ago
moneromooo-monero 336b37580f
Register daemon command line arguments to core if they're used in core
9 years ago
moneromooo-monero f7464343ea
daemon: add mining status to the status command
9 years ago
Riccardo Spagni 83b412f471
Merge pull request #503
9 years ago
moneromooo-monero 55e5a33d85
rpc: pass current block target in rpc
9 years ago
moneromooo-monero 38ceb73848
add RPC calls and commands to get/set bans
9 years ago
moneromooo-monero 06c8b94925
daemon: fix blockchain height display not updating after sync
9 years ago
Riccardo Spagni aed3038b75
disable time-stats by default, tweak fast-block-sync description
9 years ago
moneromooo-monero f3724aef88
Fix startup crash when using a locale boost does not like
9 years ago