Commit Graph

6237 Commits

Author SHA1 Message Date
rbrunner7
bbd251c48f simplewallet: Simplify LOCK_IDLE_SCOPE macro 2018-10-20 21:09:49 +03:00
moneromooo-monero
00c6056e98 simplewallet: allow named priority levels for default-priority
to match those used by the various transfer functions
2018-10-20 21:09:49 +03:00
moneromooo-monero
47f7cf68ae epee: resize vectors where possible in serialization
to avoid unnecessary repeated reallocation
2018-10-20 21:09:49 +03:00
moneromooo-monero
c4bdd5699c epee: some speedup in parsing 2018-10-20 21:09:48 +03:00
moneromooo-monero
7e6b4601c3 tx_pool: fix infinite loop when failing to find a meta record 2018-10-20 21:09:48 +03:00
stoffu
d4f07b40de wallet2.get_reserve_proof: throw when specified amount is zero 2018-10-20 21:09:48 +03:00
moneromooo-monero
1bbfeb325c tx_pool: fix tx removal at startup keeping references 2018-10-20 19:49:28 +03:00
moneromooo-monero
dc1e56d815 daemon: do not display uptime when not known 2018-10-20 19:49:27 +03:00
moneromooo-monero
332ac6a03a rpc: return "already mining" in start_mining if already mining 2018-10-20 16:07:51 +03:00
moneromooo-monero
ae255e3857 cryptonote_format_utils: do not early out on invalid tx pubkeys
Another such pubkey might be valid
2018-10-20 10:43:03 +03:00
stoffu
7cf07e9319 simplewallet: make sure wallet config is stored right after creation 2018-10-20 10:43:02 +03:00
moneromooo-monero
d904ea08a1 wallet2: avoid using arbitrary random values when unknown 2018-10-20 10:43:02 +03:00
moneromooo-monero
0da1f14aaf wallet2: guard against bad outputs in import_outputs
also some minor speedup
2018-10-20 10:43:02 +03:00
moneromooo-monero
583eaf3ccb wallet2: fix O(n^2) behaviour in import_key_images
That takes a lot of time for even not so large wallets
2018-10-20 10:43:02 +03:00
stoffu
ee45ef2c9e simplewallet.unspent_outputs: fix wrong logic for parsing 2018-10-20 10:43:02 +03:00
stoffu
7ba6d69196 wallet-rpc: filter getbalance response by address index 2018-10-20 10:43:02 +03:00
stoffu
83e5d6a829 wallet-rpc: add get_address_index command 2018-10-20 10:43:02 +03:00
Jorropo
a09d5ea211 [monerod] Added blocks remaining count during syncronisation.
And percent if usefull (% < 99)
2018-10-20 10:43:01 +03:00
stoffu
2998b929d5 tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC
Inspired by https://github.com/masari-project/masari/issues/93
2018-10-20 10:43:01 +03:00
doy-lee
44e0f9eebf wallet2: clear found out for every tx key
Avoids triggering the sanity check
2018-10-20 10:43:01 +03:00
moneromooo-monero
00bf0b5ef0 wallet_rpc_server: include all transfer records for a txid
Since subaddresses were added, a tx can now create more than
one payment
2018-10-20 10:43:01 +03:00
jw
bbf58ddc85 Merge pull request #93 from wowario/monero
Fortnite building
v0.3.0.0
2018-09-28 08:57:05 -05:00
jw
94b038e4f7 Merge pull request #94 from wowario/checkpoints
Update checkpoints
2018-09-28 08:56:43 -05:00
moneromooo-monero
deeb0cdd82 wallet2: fix transfers between subaddresses hitting the sanity check
Transfers between subaddresses are accounted for differently
2018-09-28 16:16:53 +03:00
jwinterm
2964c22866 Fix fork height to Oct 6 - block 53666 2018-09-27 08:38:36 -07:00
stoffu
458155e5c8 miner: show id and height when a block is found 2018-09-26 23:42:50 +03:00
wowario
bbf769360d Change hash, check warning to debug level 2018-09-26 23:42:32 +03:00
wowario
8700e3cfb0 update checkpoints 2018-09-26 19:46:15 +03:00
stoffu
f7ab91fecb README: add dependency on libpgm-dev 2018-09-26 13:33:40 +03:00
moneromooo-monero
d63549a314 README: bump cmake requirement to 3.5, as required by miniupnpc 2018-09-26 13:19:45 +03:00
moneromooo-monero
9b9522614e mlog: do not display http errors by default
They're controllable by potential attackers and would just spam
2018-09-26 13:17:50 +03:00
phloatingman
46c05eb988 README: fill in libsodium package name for Arch
Rebased by moneromooo, with a sensible commit message
2018-09-26 13:16:12 +03:00
TheCharlatan
baaf0f90f1 A Travis to monero
Add a Travis build script for Monero. This was blatantly copied from
Bitcoin. It spawns jobs in docker containers running an ubuntu bionic
image.

This commit also a fixes a problem where librt was still linked, even
when compiling statically.
2018-09-26 13:11:50 +03:00
TheCharlatan
58a260bfe4 Fix Darwin Sodium build
Clang needs to get its cctools path passed.
2018-09-26 13:08:46 +03:00
TheCharlatan
927f044e40 Fixup 32bit arm build
Set the architecture in the toolchain file correctly
2018-09-26 03:32:46 +03:00
TheCharlatan
df364242a9 Fix Windows build
icu tex support is not required, so just disable it.
Re-add mistakingly removed crypt32 lib.
2018-09-26 03:32:18 +03:00
TheCharlatan
86f56d1463 Add libsodium to the packages, the arm build was complaining about it.
Fixup arm toolchain file.
2018-09-26 03:31:53 +03:00
TheCharlatan
1fe0fbdf64 Adapt translations to upstream changes 2018-09-26 03:31:32 +03:00
TheCharlatan
7280d63a48 Updated pcsc url 2018-09-26 03:30:55 +03:00
TheCharlatan
5244b6fe5c Add lrelease to the depends
This includes a minimal qt build without gui
2018-09-26 03:30:30 +03:00
TheCharlatan
427e74cb46 Add Miniupnp submodule
Drop miniupnp and unbound depends builds. Make sure that build variables are propageted properly to unbound and miniupnp.
Rebase to after the v0.12 release
2018-09-26 03:29:59 +03:00
TheCharlatan
dfe5f94145 Unbound is now a submodule. Adapt depends for this.
Fix builds for native linux and windows

The architecture flag was set incorrectly.
It needs to be set only when compiling arm6.
2018-09-26 03:29:16 +03:00
TheCharlatan
d55544036b Add support for apple and arm building
Add pcsc-lite to linux builds
Fixup windows icu4c linking with depends, the static libraries have an 's' appended to them
Compiling depends arm-linux-gnueabihf will allow you to compile armv6zk monero binaries
2018-09-26 03:27:34 +03:00
TheCharlatan
30531812de Disable stack unwinding for mingw32 depends build. 2018-09-26 03:27:12 +03:00
TheCharlatan
40ef32a937 Modify depends for monero's dependencies
Add readline, ldns, graphviz, unbound to depends packages

Add a cmake toolchain file to depends that is uniquely created for every build and placed in triple/share/toolchain.cmake
This file is then passed to cmake with -DCMAKE_TOOLCHAIN_FILE=/path/to/triple/share/toolchain.cmake

Add the boost locale package to depends

In the depends cmake toolchain file, a DEPENDS flag is added
to exclude, or change cmake checks done that are required for depends

Link miniupnpc and unwind from depends and not external

Add libiconv and icu4c to depends, required for mingw32 builds.

Headers (winsock) need to be lower case in order to compile on unix systems.
This should not affect building on windows.
2018-09-26 03:26:42 +03:00
TheCharlatan
82c224ffa8 Initial depends addition
Depends cross compiles project dependencies for linux, mac and windows and multiple architectures.
Depends is original work by Cory Fields and used in bitcoin and a wide range of bitcoin related projects.
2018-09-26 03:26:14 +03:00
Howard Chu
177148468a Fix missing std::runtime_error def in difficulty.cpp 2018-09-26 03:24:00 +03:00
jw
6177e8e062 Merge pull request #92 from wowario/monero
DoS/RPC fixes [#4438]
2018-09-25 10:13:51 -05:00
moneromooo-monero
3da82f51bc epee: fix invalid memory write reading an array entry
Reported by Lilith Wyatt at Talos.

Since this is not needed in normal operation, I just let this
error out.
2018-09-25 17:38:35 +03:00
moneromooo-monero
d430c95579 epee: fix stack overflow on crafted input 2018-09-25 17:38:21 +03:00