aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-01new unlocked parameter to output_histogrammoneromooo-monero9-18/+41
This constrains the number of instances of any amount to the unlocked ones (as defined by the default unlock time setting: outputs with non default unlock time are not considered, so may be counted as unlocked even if they are not actually unlocked).
2016-07-27Merge pull request #937Riccardo Spagni4-25/+35
0f990d0 cmake,common: flag for stack trace (redfish)
2016-07-27Merge pull request #936Riccardo Spagni4-19/+36
4618873 tests: fix a bitflag test typo (moneromooo-monero) 89e68d7 unit_tests: check adding checkpoints succeeded (moneromooo-monero) 121165f db_lmdb: add some missing api call checks (moneromooo-monero) 22d8344 core_rpc_server: fix gray/white peer list mixup (moneromooo-monero)
2016-07-27cmake,common: flag for stack traceredfish4-25/+35
By default the flag is enabled whenever libunwind is found on the system, with the exception of static build on OSX (for which we can't install the throw hook #932 due to lack of support for --wrap in OSX ld64 linker).
2016-07-26tests: fix a bitflag test typomoneromooo-monero1-1/+1
2016-07-26unit_tests: check adding checkpoints succeededmoneromooo-monero1-3/+3
2016-07-26db_lmdb: add some missing api call checksmoneromooo-monero1-14/+31
2016-07-26core_rpc_server: fix gray/white peer list mixupmoneromooo-monero1-1/+1
2016-07-26Merge pull request #928Riccardo Spagni8-1/+364
ebf97d7 wallet: new {ex,im}port_key_images commands and RPC calls (moneromooo-monero)
2016-07-26Merge pull request #931Riccardo Spagni1-3/+8
b3801fa hardfork: fix off by one in rescaning fork state after restart (moneromooo-monero)
2016-07-26Merge pull request #934Riccardo Spagni1-6/+17
4b3a788 cmake: install throw hook in OSX build too (redfish) 3c92c2f cmake: do not install hook on throw when building tests (redfish)
2016-07-26cmake: install throw hook in OSX build tooredfish1-0/+3
This is an attempt to fix build with STATIC=ON on OSX (#932): [ 95%] Linking CXX executable ../../bin/bitmonerod Undefined symbols for architecture x86_64: "___real___cxa_throw", referenced from: ___wrap___cxa_throw in libcommon.a(stack_trace.cpp.o) ld: symbol(s) not found for architecture x86_64
2016-07-26cmake: do not install hook on throw when building testsredfish1-6/+14
This fixes build of tests with STATIC=ON, which failed with: /tmp/cc8lNtqY.ltrans12.ltrans.o: In function `boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >::rethrow() const [clone .lto_priv.41]': cc8lNtqY.ltrans12.o:(.text+0x4e): undefined reference to `__wrap___cxa_throw' The hook is implemented in libcommon, which is not linked into some of the test binaries. An alternative solution is to link all tests against libcommon, but that seems worse because it introduces a false dependency (also, I tried that and for some of the test binaries the linker still failed to pick up the symol from libcommon, strangely.)
2016-07-25hardfork: fix off by one in rescaning fork state after restartmoneromooo-monero1-3/+8
This code should die anyway.
2016-07-24Merge pull request #927Riccardo Spagni1-22/+4
8bed9a4 cmake: wallet: libunbound is not always static (redfish)
2016-07-24wallet: new {ex,im}port_key_images commands and RPC callsmoneromooo-monero8-1/+364
They are used to export a signed set of key images from a wallet with a private spend key, so an auditor with the matching view key may see which of those are spent, and which are not.
2016-07-23cmake: wallet: libunbound is not always staticredfish1-22/+4
It is not clear why libunbound was added to this in the first place, since it wasn't here before and #915 doesn't seem to introduce any new dependency on it. Tested build with STATIC=OFF (with and without libunbound-dev libunbound8 installed) and STATIC=ON, on Ubuntu Trusty, Debian Jessie, and Arch Linux. For static builds, beware of #926 and #907. If this hack was introduced to make it build on some other system (Windows? OS X?), then it will have to be dealt with, but not this way.
2016-07-23Merge pull request #923Riccardo Spagni1-0/+1
8312887 simplewallet: suggest removing cache when loading fails (moneromooo-monero)
2016-07-23Merge pull request #916Riccardo Spagni5-54/+243
b89b963 wallet: add unconfirmed incoming txes from the txpool (moneromooo-monero)
2016-07-23Merge pull request #915Riccardo Spagni7-75/+450
d7597c5 refreshing wallet even if error happened (Ilya Kitaev) 6d32a3d wallet_api: async init, Wallet::connected status, log level (Ilya Kitaev) 193d251 libwallet_api cmake: conditionally creating libwallet_merged2 only for STATIC build (Ilya Kitaev) 10c06dd wallet_api: segfault on refresh fixed (Ilya Kitaev) 9d2cb4f WalletListener functionality (Ilya Kitaev) d27b883 hack to successfull linking for MSYS2 (Ilya Kitaev) 083380c Transaction fee multiplier aka priority integraged (Ilya Kitaev) 00ed12b Wallet::paymentIdValid (Ilya Kitaev)
2016-07-23Merge pull request #910Riccardo Spagni1-0/+2
080a606 simplewallet: revert to foreground refresh at startup (moneromooo-monero)
2016-07-23Merge pull request #886Riccardo Spagni1-15/+22
dca9fe1 cmake: do not pass -Werror when building tests (redfish)
2016-07-23Merge pull request #920Riccardo Spagni1-0/+8
ca33ce6 include result in the notifications template (Riccardo Spagni) 2a8352d only alert on IRC when the status changes (Riccardo Spagni) 6b6fb7f add IRC notifications to travis (Riccardo Spagni)
2016-07-23include result in the notifications templateRiccardo Spagni1-1/+1
2016-07-23only alert on IRC when the status changesRiccardo Spagni1-0/+2
2016-07-23Merge pull request #924Riccardo Spagni1-1/+1
61ed40a Tests: fix signed/unsigned comparison in hash-target (anonimal)
2016-07-22cmake: do not pass -Werror when building testsredfish1-15/+22
The tests currently issue a warning that "warning: -fassociative-math disabled; other options take precedence" The associative math optimization is turned on indirectly by -Ofast. Apparently, the optimization is forced to be disabled, while compiling test harnesses generated by Google Test framework. Unfortunately, there is no -Wno-error=* flag to disable this warning (see gcc --help=warnings). An alternative to this patch is to disable the optimization explicitly with -fno-associative-math, but that seems worse. Another alternative is to not pass -Ofast for tests build, but we want the tests to be built with exact same optimization flags as the code being tested, otherwise the value of the tests is diminished. Another alternative is to remove -Werror from the entire build, but it's good to include that flag to preclude people leaving warnings. A note regarding implementation of not passing -Werror for tests: I considered filtering out -Werror from CMAKE_{C,CXX}_FLAGS but that seems to be worse because it's surprizing behavior, to those reading the code that adds -Werror. It is better to add it for when it is used and not added otherwise. I also considered relying on order, adding -Werror after inluding 'tests' subdir, but before including the other subdirs, but that also seems cryptic to the reader. So, I settled with the current solution, of explicitly setting CMAKE_{C,CXX}_FLAGS to different values before including the respective subdir. Testing done: compared compiler invocation for non-tests source files using `make VERBOSE=1` with and without this commit: the only difference is the position of -Werror. So, this commit doesn't change the binary.
2016-07-22Tests: fix signed/unsigned comparison in hash-targetanonimal1-1/+1
* References #886
2016-07-22simplewallet: suggest removing cache when loading failsmoneromooo-monero1-0/+1
2016-07-20wallet: add unconfirmed incoming txes from the txpoolmoneromooo-monero5-54/+243
Shown in show_transfers simplewallet command, and get_transfers RPC command, if req.pool is true.
2016-07-20simplewallet: revert to foreground refresh at startupmoneromooo-monero1-0/+2
Background refresh is confusing to users at startup.
2016-07-20add IRC notifications to travisRiccardo Spagni1-0/+6
2016-07-20Merge pull request #914Riccardo Spagni1-2/+2
87b1153 wallet2_api: use uint64_t for amounts (moneromooo-monero)
2016-07-20Merge pull request #919Riccardo Spagni1-7/+6
48e14ef fix atomic library to only fire off for clang (Riccardo Spagni) 39f7fad fix duplicate clang block in cmake (Riccardo Spagni)
2016-07-20Merge pull request #918Riccardo Spagni1-5/+5
b249482 Docs: fix 'Development Resources' formatting in README. (anonimal)
2016-07-20fix atomic library to only fire off for clangRiccardo Spagni1-3/+5
2016-07-20fix duplicate clang block in cmakeRiccardo Spagni1-4/+1
2016-07-20Docs: fix 'Development Resources' formatting in README.anonimal1-5/+5
2016-07-20Merge pull request #911Riccardo Spagni9-186/+9
d7b681c remove hf_starting_height db (moneromooo-monero)
2016-07-20Merge pull request #917Riccardo Spagni1-1/+1
ea44142 change travis badge (Riccardo Spagni)
2016-07-20change travis badgeRiccardo Spagni1-1/+1
2016-07-20Merge pull request #909Riccardo Spagni2-5/+34
bbba197 Docs: update 'Development Resources' in README. (anonimal) 2feb94b Travis-CI: add build-status badge to README.md (anonimal) f025622 Travis-CI: remote redundant make release-test. (anonimal) b332da3 Travis-CI: implement first-draft configuration. (anonimal)
2016-07-20Merge pull request #904Riccardo Spagni2-14/+41
f07f120 cmake: don't try to link with atomic on Apple (redfish) 19349d7 cmake: ARM: clang: make warning non-fatal: inline asm (redfish) f3e09f3 cmake: link with -latomic for clang (redfish) f4b35ae cmake: include -ldl via cmake built-in var (redfish) fa85cd8 common: stack trace: make clang happy with func ptrs (redfish) 4dce26b cmake: do not pass -stdlib=c++ to clang >=3.7 (redfish)
2016-07-20Merge pull request #902Riccardo Spagni7-18/+84
014f3a0 Add a daemon RPC version, and make simplewallet check it (moneromooo-monero)
2016-07-20Merge pull request #900Riccardo Spagni2-5/+3
78cc10f daemon: fix ban seconds being misinterpreted as absolute (moneromooo-monero) 34ecfdb rpc: fix get_bans and set_bans RPC names, they were missing a _ (moneromooo-monero)
2016-07-20Merge pull request #899Riccardo Spagni1-1/+8
a95a2cb wallet_rpc_server: add payment id from integrated addresses to extra (moneromooo-monero)
2016-07-20Merge pull request #897Riccardo Spagni1-14/+0
ce6b831 daemonizer: posix: keep parent's working dir and umask (redfish)
2016-07-20Merge pull request #896Riccardo Spagni1-1/+1
1e89f4f cmake: do not ignore dangerous warnings with -Wno-error (redfish)
2016-07-20Merge pull request #887Riccardo Spagni1-0/+5
ab25075 cmake: pass -fno-strict-aliasing to fix build with GCC 6.1.1 (redfish)
2016-07-20Merge pull request #818Riccardo Spagni8-1/+194
89d9f38 wallet: add command and RPC to sign/verify data (moneromooo-monero)
2016-07-19wallet: add command and RPC to sign/verify datamoneromooo-monero8-1/+194
Signing is done using the spend key, since the view key may be shared. This could be extended later, to let the user choose which key (even a per tx key). simplewallet's sign/verify API uses a file. The RPC uses a string (simplewallet can't easily do strings since commands receive a tokenized set of arguments).
2016-07-18refreshing wallet even if error happenedIlya Kitaev2-6/+18
2016-07-18wallet_api: async init, Wallet::connected status, log levelIlya Kitaev5-38/+172
2016-07-18libwallet_api cmake: conditionally creating libwallet_merged2 only forIlya Kitaev2-9/+17
STATIC build
2016-07-18wallet_api: segfault on refresh fixedIlya Kitaev2-5/+9
2016-07-18WalletListener functionalityIlya Kitaev5-52/+195
2016-07-18hack to successfull linking for MSYS2Ilya Kitaev1-2/+6
2016-07-18Transaction fee multiplier aka priority integragedIlya Kitaev4-4/+67
2016-07-18Wallet::paymentIdValidIlya Kitaev2-0/+7
2016-07-17wallet2_api: use uint64_t for amountsmoneromooo-monero1-2/+2
2016-07-13remove hf_starting_height dbmoneromooo-monero9-186/+9
It's not really needed, it used to be an optimization for when that code was not using the db and needed to recalculate things fast on startup.
2016-07-13Docs: update 'Development Resources' in README.anonimal1-5/+4
* Branch development was recently removed. All PR's now go directly to master. * Also, removed EOL whitespace
2016-07-13Travis-CI: add build-status badge to README.mdanonimal1-0/+2
* Currently points to anonimal/bitmonero. This should be changed to monero-project/bitmonero once the project signs-up for Travis-CI.
2016-07-13Travis-CI: remote redundant make release-test.anonimal1-1/+1
2016-07-12Travis-CI: implement first-draft configuration.anonimal1-0/+28
2016-07-12cmake: don't try to link with atomic on Appleredfish1-1/+1
-latomic is necessary with Clang on Linux, but apparently, on OSX it's not found.
2016-07-10cmake: ARM: clang: make warning non-fatal: inline asmredfish1-0/+3
Clang issues a warning for some inline asm in stack_trace.cpp. This patch ieaves the warning to be displayed as a reminder to fix the code.
2016-07-10cmake: link with -latomic for clangredfish1-0/+5
otherwise clang build fails with ../cryptonote_core/libcryptonote_core.a(miner.cpp.o): In function `std::__atomic_base<unsigned long long>::load(std::memory_order) const': /usr/bin/../lib/gcc/i686-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/bits/atomic_base.h:396: undefined reference to `__atomic_load_8' This has no effect on the gcc build. The one strange thing is that test code like std::atomic<int> x; int main() { return x; } compiles and links without errors with clang, without -latomic. This alone would suggest that this patch is unnecessary, but that is not the case. It's not clear exactly why, though. The bitmonero code is including the same header, but it must be doing something more complex than in this test code snippet that causes the failure at link time pasted above. In any case, passing -latomic fixes the problem and seems safe. .
2016-07-10cmake: include -ldl via cmake built-in varredfish1-4/+1
This does two things: 1. fixes clang build, which otherwise errors with undefined symbol 'dlsym'. 2. simplifies the cmake script, delegating to cmake to figure out platform-specific flags for linking against the dl library.
2016-07-10common: stack trace: make clang happy with func ptrsredfish1-9/+29
Tested that it builds with: gcc 6.1.1, STATIC=OFF,i686 gcc 6.1.1, STATIC=OFF,armv7h clang 3.8, STATIC=OFF,i686 clang 3.8, STATIC=OFF,armv7h gcc 6.1.1, STATIC=ON,i686 clang 3.8, STATIC=ON,i686 Also tested that stack trace is generated fine on exception on: i686, gcc 6.1.1, STATIC=OFF (didn't bother testing all the other platforms/configs) This should fix the build problem on OSX (#871, #901), but I don't have OSX, so I could only test Clang on Linux.
2016-07-10cmake: do not pass -stdlib=c++ to clang >=3.7redfish1-2/+4
Tested on Linux (Arch) with clang 3.7 and 3.8 i686 and ARM: if -stdlib=c++ is passed to clang, then the build errors out with <string>,<iostrea>,etc. headers not found. Simply not passing the arg fixes the problem. **NOTE**: not tested on OSX.
2016-07-10Add a daemon RPC version, and make simplewallet check itmoneromooo-monero7-18/+84
If the version is different, simplewallet will refuse to use that daemon, unless --allow-mismatched-daemon-version is used.
2016-07-10daemon: fix ban seconds being misinterpreted as absolutemoneromooo-monero1-3/+1
Absolute to relative conversion is already done by the callee.
2016-07-10rpc: fix get_bans and set_bans RPC names, they were missing a _moneromooo-monero1-2/+2
2016-07-10wallet_rpc_server: add payment id from integrated addresses to extramoneromooo-monero1-1/+8
2016-07-09daemonizer: posix: keep parent's working dir and umaskredfish1-14/+0
Keep the working directory (and umask) inherited from the parent. Otherwise, it's impossible to control the working directory of the daemon (from systemd, for example). Furthermoer, bitmonerod attempts to create logging directories and files *in current working directory*. This fails due to permission denied and generates a (caught, nonfatal) exception. Below is the strace with this patch applied (so, no `chdir("/")`), showing successful opens at `log/` relative path. Without this patch they fail (sorry, didn't save the trace). ``` 28911 getcwd("/.../bitmonero", 128) = 25 28911 stat64("/var/lib/bitmonero/.bitmonero", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 28911 stat64("/etc/bitmonerod.conf", {st_mode=S_IFREG|0644, st_size=244, ...}) = 0 28911 open("/etc/bitmonerod.conf", O_RDONLY|O_LARGEFILE) = 3 28911 open("/var/log/bitmonero/bitmonero.log", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = 3 28911 stat64("log", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 28911 stat64("log/dbg", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 28911 open("log/dbg/main.log", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4 ``` The reasoning of chdir("/") in order to prevent the daemon from holding a filesystem in busy state is not compelling at all: the choice of working directory for the daemon is the user's business not the daemon's.
2016-07-09cmake: do not ignore dangerous warnings with -Wno-errorredfish1-1/+1
Shorten the list of warnings that are reported, but which are forced to NOT generate an error, via -Wno-error. Unwhitelist these: strict-aliasing, sign-compare, type-limits For example, ignoring strict-aliasing warning caused lots of wasted time diagnosing Issue #847.
2016-07-08cmake: pass -fno-strict-aliasing to fix build with GCC 6.1.1redfish1-0/+5
This patch is a temprorary workaround until aliasing is fixed in the code (Issue #847).
2016-07-08Merge pull request #889Riccardo Spagni1-1/+1
a0bf85d wallet2_api: make this build (smatch needs .str() for /=) (moneromooo-monero)
2016-07-07wallet2_api: make this build (smatch needs .str() for /=)moneromooo-monero1-1/+1
2016-07-06Merge pull request #885Riccardo Spagni1-2/+1
b727a1f updated README to reflect Windows changes (Riccardo Spagni)
2016-07-06Merge pull request #884Riccardo Spagni2-4/+14
c2ad9ca allow peers without port (moneromooo-monero)
2016-07-06Merge pull request #883Riccardo Spagni1-1/+10
459ec60 daemon: print exception errors when failing to parse config file (moneromooo-monero)
2016-07-06Merge pull request #882Riccardo Spagni1-0/+12
f11191a rpc: restrict number of fake outs requested in restricted rpc mode (moneromooo-monero)
2016-07-06Merge pull request #879Riccardo Spagni1-0/+1
6b08001 simplewallet: mention the background refresh thread when starting (moneromooo-monero)
2016-07-06Merge pull request #878Riccardo Spagni7-28/+146
945c272 wallet: add a fee multiplier (moneromooo-monero)
2016-07-06Merge pull request #877Riccardo Spagni2-16/+16
ecd0f2d makefile: remove unnecessary ARM-specific targets (redfish) c650160 cmake: disable AES on ARM (redfish) 804b1bc cmake: initialize ARCH for native builds (redfish) bb39034 cmake: remove repetitive code in handling of NO_AES (redfish)
2016-07-06Merge pull request #876Riccardo Spagni1-1/+1
72287d1 contrib: epee: add missing noexcept spec to class decl (redfish)
2016-07-06Merge pull request #875Riccardo Spagni2-15/+32
14f7538 readme: move license to separate file for packaging (redfish)
2016-07-06Merge pull request #873Riccardo Spagni2-1/+3
d718960 remove POSIX_C_SOURCE and remove dlfcn.h for static builds (luigi1111)
2016-07-06Merge pull request #872Riccardo Spagni31-452/+2572
beb6d92 CMake: GPL 'libutils' script removed (Ilya Kitaev) 4e5521d PendingTransactionImpl: pointer->reference (Ilya Kitaev) 7b7cf21 commented regex (Ilya Kitaev) eec0f57 Typo fixed (Ilya Kitaev) f1c4a37 Wallet::createTransaction: added mixin_count param (Ilya Kitaev) 3318add double/string to monero integer convertion methods (Ilya Kitaev) 3ac20a4 wallet::default_mixin exposed to public interface as Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction (Ilya Kitaev) c554055 Wallet::filename, Wallet::keysFilename, tests for move wallet (Ilya Kitaev) 8f9d98b removed unused "using" (Ilya Kitaev) 2facbe7 Wallet API : WalletManager::findWallets() added (Ilya Kitaev) ec949c3 scripts for faster test wallets generation (Ilya Kitaev) 7f3d28f regenerated test wallets, basic functions got broken (Ilya Kitaev) 4327548 installing wallet_api header (Ilya Kitaev) 7ac1342 cmake: BUILD_TESTS as option explicitly; added missed dependency (Ilya Kitaev) 1f0d016 cmake libutils dependency added (Ilya Kitaev) d43ad22 all wallet dependencies merged to single static lib (Ilya Kitaev) 9ae4e87 WalletListener::moneyReceived test (Ilya Kitaev) 40087a7 WalletListener::moneySpent test (Ilya Kitaev) 27d86b7 WalletListener::moneySpent(), WalletListener::moneyReceived() (Ilya Kitaev) ff52c67 i_wallet_callback: virtual dtor (Ilya Kitaev) 5dbd2b8 started WalletListener (Ilya Kitaev) 71131a8 TransactionHistory continued (Ilya Kitaev) 9311934 TransactionHistory continued (Ilya Kitaev) 566166a merged with upstream (Ilya Kitaev) 53a97bd Wallet API: transaction history in progress (Ilya Kitaev) 02c9df5 Wallet API : transaction history in progress (Ilya Kitaev) a213887 transaction history api in progress (Ilya Kitaev) b6aaf53 transaction history api in progress (Ilya Kitaev) f83f3cb api implementation splitted over separate files (Ilya Kitaev) 4e1c2dc TransactionInfo / TransactionHistory APIs design (Ilya Kitaev) 1774d95 TODOs for Transaction/Transfer interface (Ilya Kitaev) d97e9ef Transaction API continued (Ilya Kitaev) 079fbd3 Wallet::createTransaction API introduced (Ilya Kitaev) ee5bb17 Wallet::transfer() continued (Ilya Kitaev) c37c856 Wallet::transfer in progress (Ilya Kitaev) 830c19c Wallet::refresh + tests (Ilya Kitaev) 1ae9cdc "testnet" is default parameter (Ilya Kitaev) 2157a9a testnet option, Wallet::balance(), Wallet::unlockedBalance() (Ilya Kitaev) 8790904 - testnet option added to api; (Ilya Kitaev) 2cce329 wallet2::store() implemented within wallet2::store_to (Ilya Kitaev) d608647 WalletManager::findWallets: searching by "keys" files instead of "address.txt" files (Ilya Kitaev) ca61153 Wallet: payment id and integrated address (Ilya Kitaev) 23cbf6f PendingTransactionImpl: pointer->reference (Ilya Kitaev) c1d9e7c commented regex (Ilya Kitaev) 563baf1 Typo fixed (Ilya Kitaev) 2efec04 Wallet::createTransaction: added mixin_count param (Ilya Kitaev) 85a6322 double/string to monero integer convertion methods (Ilya Kitaev) e7d8f2a wallet::default_mixin exposed to public interface as Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction (Ilya Kitaev) a537489 Wallet::filename, Wallet::keysFilename, tests for move wallet (Ilya Kitaev) a1eddcd removed unused "using" (Ilya Kitaev) 8390bfa Wallet API : WalletManager::findWallets() added (Ilya Kitaev) 44cc0ef scripts for faster test wallets generation (Ilya Kitaev) 2060bfe regenerated test wallets, basic functions got broken (Ilya Kitaev) dbc0b03 installing wallet_api header (Ilya Kitaev) 653c7e3 cmake: BUILD_TESTS as option explicitly; added missed dependency (Ilya Kitaev) ef9a74c cmake libutils dependency added (Ilya Kitaev) 191cb59 all wallet dependencies merged to single static lib (Ilya Kitaev) 91eeeb8 WalletListener::moneyReceived test (Ilya Kitaev) 64348a2 WalletListener::moneySpent test (Ilya Kitaev) 060bb62 WalletListener::moneySpent(), WalletListener::moneyReceived() (Ilya Kitaev) 214014c i_wallet_callback: virtual dtor (Ilya Kitaev) 3745770 started WalletListener (Ilya Kitaev) e6fdd5d TransactionHistory continued (Ilya Kitaev) 3dd4b4c merged with upstream (Ilya Kitaev) d500272 Wallet API : transaction history in progress (Ilya Kitaev) 663ed04 transaction history api in progress (Ilya Kitaev) 12345d3 api implementation splitted over separate files (Ilya Kitaev) 60508e6 TransactionInfo / TransactionHistory APIs design (Ilya Kitaev) 951f3b5 Wallet::createTransaction API introduced (Ilya Kitaev) 7c51227 Wallet::transfer in progress (Ilya Kitaev) e04c67a Wallet::refresh + tests (Ilya Kitaev) 9cdf0b7 "testnet" is default parameter (Ilya Kitaev) caf0e02 testnet option, Wallet::balance(), Wallet::unlockedBalance() (Ilya Kitaev) 8df820b - testnet option added to api; (Ilya Kitaev) 94eaeb5 wallet2::store() implemented within wallet2::store_to (Ilya Kitaev)
2016-07-03updated README to reflect Windows changesRiccardo Spagni1-2/+1
2016-07-03allow peers without portmoneromooo-monero2-4/+14
The default port is then used
2016-06-30daemon: print exception errors when failing to parse config filemoneromooo-monero1-1/+10
When an exception happens while reading the config file, we need to print the error, as the logging system isn't initialized yet, so the generic catch will not print anything.
2016-06-29rpc: restrict number of fake outs requested in restricted rpc modemoneromooo-monero1-0/+12
2016-06-24CMake: GPL 'libutils' script removedIlya Kitaev5-407/+16
2016-06-23makefile: remove unnecessary ARM-specific targetsredfish1-8/+0
* NO_AES is determined automatically * BUILD_64 is determined automatically
2016-06-23Merge branch 'master' of https://github.com/mbg033/bitmoneroIlya Kitaev5-23/+19
2016-06-23WalletManager::findWallets: searching by "keys" files instead ofIlya Kitaev1-5/+3
"address.txt" files
2016-06-23Wallet: payment id and integrated addressIlya Kitaev4-14/+144
2016-06-23PendingTransactionImpl: pointer->referenceIlya Kitaev2-4/+4
2016-06-23commented regexIlya Kitaev1-1/+1
2016-06-23Typo fixedIlya Kitaev1-1/+1
2016-06-23Wallet::createTransaction: added mixin_count paramIlya Kitaev4-11/+63
2016-06-23double/string to monero integer convertion methodsIlya Kitaev3-2/+33
2016-06-23wallet::default_mixin exposed to public interface asIlya Kitaev4-1/+24
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
2016-06-23Wallet::filename, Wallet::keysFilename, tests for move walletIlya Kitaev4-0/+58
2016-06-23removed unused "using"Ilya Kitaev1-1/+0
2016-06-23Wallet API : WalletManager::findWallets() addedIlya Kitaev8-19/+86
2016-06-23scripts for faster test wallets generationIlya Kitaev11-19/+120
2016-06-23regenerated test wallets, basic functions got brokenIlya Kitaev1-17/+20
2016-06-23installing wallet_api headerIlya Kitaev1-2/+2
2016-06-23cmake: BUILD_TESTS as option explicitly; added missed dependencyIlya Kitaev1-0/+3
2016-06-23cmake libutils dependency addedIlya Kitaev1-0/+46
2016-06-23all wallet dependencies merged to single static libIlya Kitaev4-2/+491
2016-06-23WalletListener::moneyReceived testIlya Kitaev1-12/+38
2016-06-23WalletListener::moneySpent testIlya Kitaev3-55/+164
2016-06-23WalletListener::moneySpent(), WalletListener::moneyReceived()Ilya Kitaev2-2/+22
2016-06-23i_wallet_callback: virtual dtorIlya Kitaev1-0/+1
2016-06-23started WalletListenerIlya Kitaev3-1/+65
2016-06-23TransactionHistory continuedIlya Kitaev6-24/+159
2016-06-23merged with upstreamIlya Kitaev5-3/+106
2016-06-23Wallet API : transaction history in progressIlya Kitaev8-32/+115
2016-06-23transaction history api in progressIlya Kitaev7-16/+110
2016-06-23api implementation splitted over separate filesIlya Kitaev13-315/+710
2016-06-23TransactionInfo / TransactionHistory APIs designIlya Kitaev2-130/+188
2016-06-23Wallet::createTransaction API introducedIlya Kitaev3-135/+225
Transaction API continued TODOs for Transaction/Transfer interface
2016-06-23Wallet::transfer in progressIlya Kitaev3-2/+214
2016-06-23Wallet::refresh + testsIlya Kitaev3-0/+28
2016-06-23"testnet" is default parameterIlya Kitaev2-3/+11
2016-06-23testnet option, Wallet::balance(), Wallet::unlockedBalance()Ilya Kitaev3-17/+27
2016-06-23- testnet option added to api;Ilya Kitaev5-37/+98
2016-06-23wallet2::store() implemented within wallet2::store_toIlya Kitaev4-69/+87
2016-06-22simplewallet: mention the background refresh thread when startingmoneromooo-monero1-0/+1
It should be less confusing for people who're used to the foreground refresh from earlier versions.
2016-06-22wallet: add a fee multipliermoneromooo-monero7-28/+146
Fee can now be multiplied by 2 or 3, if users want to give priority to their transactions. There are only three levels to avoid too much fingerprinting. Default is 1 (minimum fee). The default multiplier can be set by "set fee-multiplier X".
2016-06-22contrib: epee: add missing noexcept spec to class declredfish1-1/+1
The noexcept specs were added to make GCC 6.1.1 happy (#846), but this one was missing (because GCC did not complain about it on Linux, but does complain on OSX).
2016-06-22PendingTransactionImpl: pointer->referenceIlya Kitaev2-4/+4
2016-06-22commented regexIlya Kitaev1-1/+1
2016-06-22Typo fixedIlya Kitaev1-1/+1
2016-06-21cmake: disable AES on ARMredfish1-1/+3
On ARM, gcc fails with 'unknown argument' if passed '-maes'.
2016-06-21cmake: initialize ARCH for native buildsredfish1-1/+6
We need ARCH, because it needs to be set for ARM7, ARM6 to be initialized. Strangely, on different machines (both ARMv7, Arch), ${ARCH} var is either empty or 'native'. Handle both cases.
2016-06-21cmake: remove repetitive code in handling of NO_AESredfish1-7/+8
Minor eefactor only. No behavior or interface change in this commit.
2016-06-21readme: move license to separate file for packagingredfish2-15/+32
2016-06-21remove POSIX_C_SOURCE and remove dlfcn.h for static buildsluigi11112-1/+3
The former was a faulty "fix" for gmtime_r not existing on Windows. The latter is needed only for dynamic builds, and is not included with msys2, which ends up fine because Windows is only built static at this time.
2016-06-21Merge pull request #870Riccardo Spagni1-2/+6
57dce80 gmtime for Windows (luigi1111)
2016-06-21Merge pull request #869Riccardo Spagni1-2/+2
03e545d More fixing for Windows (iDunk) e8baa57 CMakeLists.txt: fix build for mingw (iDunk)
2016-06-21Merge pull request #867Riccardo Spagni2-0/+25
f0b85c1 simplewallet: add a status command (moneromooo-monero)
2016-06-21Merge pull request #868Riccardo Spagni2-2/+3
15c2b69 common: fix build without libunwind (moneromooo-monero) f72388c CMakeLists: fix build without libunwind (moneromooo-monero)
2016-06-20gmtime for Windowsluigi11111-2/+6
gmtime_r is not available in Windows, use gmtime_s instead. Also change shorthand codes (also not working in Windows).
2016-06-20More fixing for WindowsiDunk1-1/+1
2016-06-20CMakeLists.txt: fix build for mingwiDunk1-1/+1
Fix from iDunk from IRC.
2016-06-20Wallet::createTransaction: added mixin_count paramIlya Kitaev4-11/+63
2016-06-20common: fix build without libunwindmoneromooo-monero1-2/+2
2016-06-20CMakeLists: fix build without libunwindmoneromooo-monero1-0/+1
2016-06-20simplewallet: add a status commandmoneromooo-monero2-0/+25
It matches the daemon, and should allow people who're suspicious of the background refresh to know they're synced.
2016-06-20Merge pull request #865Riccardo Spagni1-0/+25
3c3537e cmake: add missing FindLibunwind.cmake (moneromooo-monero)
2016-06-20cmake: add missing FindLibunwind.cmakemoneromooo-monero1-0/+25
2016-06-19Merge pull request #863Riccardo Spagni1-1/+1
0c6e9e4 rpc: fix getblock RPC sending blob as binary, not hex dump (moneromooo-monero)
2016-06-19Merge pull request #862Riccardo Spagni2-11/+13
5dc09f2 wallet_rpc_server: fix some string values being returned between <> (moneromooo-monero) f8213c0 Require 64/16 characters for payment ids (moneromooo-monero)
2016-06-19Merge pull request #857Riccardo Spagni1-4/+0
d6f5d54 Fix Issue #855 (Howard Chu)
2016-06-19Merge pull request #856Riccardo Spagni2-2/+14
c5f00bc cn_deserialize: add minergate data (moneromooo-monero) 2470b20 cn_deserialize: print extra nonce as hex data (moneromooo-monero) 77d8fc3 tx_extra: parse new chunk added by minergate (blashyrkh)
2016-06-19Merge pull request #846Riccardo Spagni11-21/+16
de030d9 fix: error: -Werror=misleading-indentation (moneroexample) c2d7300 contrib: epee: add exception spec to throwing destructors (redfish) 6898741 src: p2p: add exception spec to throwing destructors (redfish) 21dbc95 crypto: slow-hash: fix misleading indent (redfish) 70f3634 crypto: slow-hash: remove unused hash list for ARM (redfish) 1a7772f crypto: oaes_lib: remove unused _NR array (redfish) 6462a3a crypto: fix compile error: use named type in sizeof (redfish)
2016-06-19Merge pull request #775Riccardo Spagni6-4/+190
e409e59 Print stack trace on exceptions (moneromooo-monero) ef4ff42 connection_basic: avoid gratuitous exception (moneromooo-monero)
2016-06-19wallet_rpc_server: fix some string values being returned between <>moneromooo-monero1-10/+10
2016-06-19Require 64/16 characters for payment idsmoneromooo-monero1-1/+3
The default behavior for hex string parsing would allow the last digit to be made from a single hexadecimal character, which is correct, but we typically do not want that as it gets confusing and easy to not spot wrong input size.
2016-06-16double/string to monero integer convertion methodsIlya Kitaev3-2/+33
2016-06-10rpc: fix getblock RPC sending blob as binary, not hex dumpmoneromooo-monero1-1/+1
2016-06-10wallet::default_mixin exposed to public interface asIlya Kitaev4-1/+24
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
2016-06-10Wallet::filename, Wallet::keysFilename, tests for move walletIlya Kitaev4-0/+58
2016-06-07Fix Issue #855Howard Chu1-4/+0
Use the same size dirty list for both 64 and 32 bit.
2016-06-06cn_deserialize: add minergate datamoneromooo-monero1-0/+1
2016-06-06cn_deserialize: print extra nonce as hex datamoneromooo-monero1-1/+1
2016-06-06tx_extra: parse new chunk added by minergateblashyrkh1-1/+12
Patch from blashyrkh on forum.getmonero.org: https://forum.getmonero.org/5/support/2530/simplewallet-returns-invalid-paymentid
2016-06-03Merge pull request #854Riccardo Spagni1-0/+18
14d10e7 readme: notes on config file and fg/bg run mode (redfish)
2016-06-03Merge pull request #850Riccardo Spagni1-2/+5
95be58e crypto: slow-hash: disable mul implemented in asm for ARM (redfish)
2016-06-03removed unused "using"Ilya Kitaev1-1/+0
2016-06-03Wallet API : WalletManager::findWallets() addedIlya Kitaev8-19/+86
2016-06-01scripts for faster test wallets generationIlya Kitaev11-19/+120
2016-05-28readme: notes on config file and fg/bg run moderedfish1-0/+18
2016-05-27regenerated test wallets, basic functions got brokenIlya Kitaev1-17/+20
2016-05-27Merge remote-tracking branch 'upstream/master'Ilya Kitaev28-830/+1409
2016-05-27installing wallet_api headerIlya Kitaev1-2/+2
2016-05-27cmake: BUILD_TESTS as option explicitly; added missed dependencyIlya Kitaev1-0/+3
2016-05-27cmake libutils dependency addedIlya Kitaev1-0/+46
2016-05-27all wallet dependencies merged to single static libIlya Kitaev4-2/+491
2016-05-25crypto: slow-hash: disable mul implemented in asm for ARMredfish1-2/+5
The implementation of mul in asm breaks 'slow-hash' test when built with GCC 6.1.1. Disable this implementation in favor of plain C until it is fixed.
2016-05-18fix: error: -Werror=misleading-indentationmoneroexample1-1/+3
Compilation of bitmonero on Arch with gcc 6.1 results in the following error: /home/mwo/bitmonero/tests/unit_tests/hardfork.cpp: In member function ‘virtual void TestDB::set_hard_fork_version(uint64_t, uint8_t)’: /home/mwo/bitmonero/tests/unit_tests/hardfork.cpp:132:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] if (versions.size() <= height) versions.resize(height+1); versions[height] = version; This can be fixed by simply unfolding this line into three lines.
2016-05-18contrib: epee: add exception spec to throwing destructorsredfish3-3/+3
The destructors get a noexcept(true) spec by default, but these destructors in fact throw exceptions. An alternative fix might be to not throw (most if not all of these throws are non-essential error-reporting/logging).
2016-05-18src: p2p: add exception spec to throwing destructorsredfish4-4/+4
The destructors get a noexcept(true) spec by default, but these destructors in fact throw exceptions. An alternative fix might be to not throw (most if not all of these throws are non-essential error-reporting/logging).
2016-05-18crypto: slow-hash: fix misleading indentredfish1-1/+1
GCC warned about this one.
2016-05-18crypto: slow-hash: remove unused hash list for ARMredfish1-4/+0
This list is already defined within the function. The removed definition was shadowed.
2016-05-18crypto: oaes_lib: remove unused _NR arrayredfish1-4/+0
2016-05-18crypto: fix compile error: use named type in sizeofredfish1-4/+5
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
2016-05-17Merge pull request #842Riccardo Spagni4-4/+11
d539be3 crypto: make clear generate_random_bytes is not thread safe (moneromooo-monero)
2016-05-17Merge pull request #840Riccardo Spagni2-6/+8
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)
2016-05-17Merge pull request #837Riccardo Spagni1-1/+9
bc99b5d Update README with TAILS instructions (dEBRUYNE-1)
2016-05-17Merge pull request #831Riccardo Spagni11-31/+121
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)
2016-05-17Merge pull request #827Riccardo Spagni3-19/+31
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 19fe8ae3ef1aa46ae8fdd4e4d6862510390ddab7 (Howard Chu)
2016-05-17WalletListener::moneyReceived testIlya Kitaev1-12/+38
2016-05-16Restrict also 'get_connections' and 'getbans' APIs.osensei1-2/+2