Commit Graph

273 Commits

Author SHA1 Message Date
Gregory Maxwell
89655c3a1e Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool. 2018-10-17 20:22:44 +03:00
lateminer
f57cc59be2 Remove replace-by-fee 2018-10-15 22:21:51 +03:00
Jonas Schnelli
507dfaeb4a [Wallet] slightly refactor GetOldestKeyPoolTime() 2018-10-14 23:49:03 +03:00
lateminer
f7422db2f7 Update to Core 0.12.2 2018-10-14 19:07:51 +03:00
Gregory Sanders
96b938e00c CreateTransaction: Don't return success with too-many-ancestor txn 2018-10-14 15:19:59 +03:00
Gregory Sanders
8a0d1a55f9 SelectCoinsMinConf: Prefer coins with fewer ancestors 2018-10-14 15:06:03 +03:00
Pieter Wuille
a64fec0574 Return txid even if ATMP fails for new transaction 2018-10-14 14:34:12 +03:00
Gregory Maxwell
0fab6dc7aa Make RelayWalletTransaction attempt to AcceptToMemoryPool. 2018-10-14 14:29:19 +03:00
lateminer
b76793c9f9 Fix backporting errors
main.cpp
wallet/wallet.cpp
wallet/wallet.h
2018-10-13 16:14:49 +03:00
Alex Morcos
b821da64ef Implement "feefilter" P2P message. 2018-10-13 15:44:02 +03:00
lateminer
a20e1a0db9 Take care of backporting errors 2018-10-13 02:36:24 +03:00
Kalle Alm
8e919e9d59 [rpc] Add abortrescan command to RPC interface. 2018-10-13 02:21:39 +03:00
Kalle Alm
0b91aeefa7 [wallet] Add support for aborting wallet transaction rescans. 2018-10-13 02:15:50 +03:00
Cory Fields
7813585f6a c++11: detect and correct for boost builds with an incompatible abi 2018-10-13 01:33:48 +03:00
Gregory Sanders
ab2332461b Add option to return non-segwit serialization via rpc 2018-10-13 01:03:04 +03:00
lateminer
66dd63a23b Proof-of-stake related code refactoring and cleanup 2018-10-12 23:40:50 +03:00
lateminer
da2c4ec6c9 Add RPC call reservebalance 2018-10-12 21:02:30 +03:00
lateminer
e9886e3f1b Code cleanup 2018-10-12 00:34:40 +03:00
lateminer
d452787a2c Completely remove coinage 2018-10-12 00:04:41 +03:00
lateminer
c3ee9da215 Rebrand to Blackcoin More 2018-09-30 15:28:44 +03:00
lateminer
c53ecd12c9 Bitcoin -> Blackcoin 2018-03-18 12:42:10 +03:00
janko33bd
5df3672ddb Merge branch 'Blackcoin-Lore' of https://github.com/janko33bd/bitcoin.git into Blackcoin-Lore 2018-02-05 20:22:54 +01:00
janko33bd
e38ecb6e08 fixed some more bugs, moved dialog to an option 2018-02-05 20:12:40 +01:00
janko33bd
6e8ab87e81 adjusted help 2018-02-03 23:27:46 +01:00
janko33bd
0cb80ee889 corrected stakin dialog + added rpc staking 2018-02-03 23:16:28 +01:00
janko33bd
cf64fa85a9 logic 2018-02-03 00:41:08 +01:00
Tomasoashtonkai
07d1c2c9fa Wallet: call getConflicts excluding equivalent tx
Should fix the conflicts notification issue.
2018-02-02 13:43:10 +01:00
lateminer
b6c9553359 Do not exclude stake from balances in listaddressgroupings RPC 2018-02-01 21:52:33 +03:00
lateminer
21e7a07a34 Add stake balance in RPC call getwalletinfo 2018-02-01 19:52:18 +03:00
janko33bd
c1e0fac4f8 added stake cache + checked ismine 2018-01-30 23:52:33 +01:00
janko33bd
764797ad06 fixed immature/staking balance 2018-01-18 21:09:55 +01:00
janko33bd
6484a9e9b2 add stake to gui 2018-01-15 23:28:59 +01:00
lateminer
323a6750c2 Add CashAddr Address Format
Ported from Bitcoin Unlimited, Bitcoin ABC
2018-01-14 22:32:08 +03:00
lateminer
3d26f43eb0 mempool: Replace maxFeeRate of 10000*minRelayTxFee with maxTxFee
fa331db68b
2018-01-13 01:30:21 +03:00
lateminer
ef33662381 Merge remote-tracking branch 'janko33bd/Blackcoin-Lore' into build-fixes-0.13 2018-01-12 22:22:52 +03:00
lateminer
c4c9d81823 Use std::shared_ptr instead of boost::shared_ptr 2018-01-12 07:34:45 +03:00
Gregory Maxwell
ae3b2575d9 Fix wallet/test/crypto_tests.cpp for OpenSSL 1.1 API.
This avoids a compile failure on newly installed debian stretch systems.
2018-01-10 23:08:55 +03:00
lateminer
72fb9f5567 Fix typo
wallet.cpp
2018-01-10 22:12:18 +03:00
lateminer
72875a2116 Relay double-spends, subject to anti-DOS
cef3711500 (diff-7ec3c68a81efff79b6ca22ac1f1eabbaL929)
2018-01-10 21:52:38 +03:00
lateminer
85aaa0b023 Fix comparison between signed and unsigned int
rpcwallet.cpp
wallet.cpp
2018-01-10 20:32:50 +03:00
Wladimir J. van der Laan
5acb13a540 test: Rename wallet.dat to wallet_test.dat
Indicate that the file name is not hardcoded, and a little bit of safety
so that it never nukes the main wallet.

Suggestion by Marco Falke.
2018-01-10 00:03:49 +03:00
Wladimir J. van der Laan
a0bf1386b7 wallet_ismine.h → script/ismine.h 2018-01-10 00:03:31 +03:00
Wladimir J. van der Laan
8a0a14b77b test: Create test fixture for wallet
Removes all the `#ifdef ENABLE_WALLET` from `test_bitcoin` by
making the wallet tests use their own fixture.
2018-01-10 00:02:00 +03:00
Wladimir J. van der Laan
f508e91677 test: move accounting_tests and rpc_wallet_tests to wallet/test 2018-01-10 00:01:44 +03:00
Cory Fields
a5cb913081 c++11: add scoped enum fallbacks to CPPFLAGS rather than defining them locally
Due to include ordering, defining in one place was not enough to ensure correct
usage. Use global defines so that we don't have to worry abou this ordering.

Also add a comment in configure about the test.
2018-01-09 23:41:56 +03:00
Cory Fields
e013f50397 c++11: CAccountingEntry must be defined before use in a list 2018-01-09 23:36:00 +03:00
janko33bd
48feed03ef Merge pull request #19 from lateminer/ui-respendalert
UI to alert of respend attempt affecting wallet.
2018-01-09 21:34:03 +01:00
Cory Fields
6229258723 c++11: detect and correct for boost builds with an incompatible abi
This is ugly, but temporary. boost::filesystem will likely be dropped soon
after c++11 is enabled. Otherwise, we could simply roll our own copy_file. I've
fixed this at the buildsystem level for now in order to avoid mixing in
functional changes.

Explanation:
If boost (prior to 1.57) was built without c++11, it emulated scoped enums
using c++98 constructs. Unfortunately, this implementation detail leaked into
the abi. This was fixed in 1.57.

When building against that installed version using c++11, the headers pick up
on the native c++11 scoped enum support and enable it, however it will fail to
link. This can be worked around by disabling c++11 scoped enums if linking will
fail.

Add an autoconf test to determine incompatibility. At build-time, if native
enums are being used (a c++11 build), and force-disabling them causes a
successful link, we can be sure that there's an incompatibility and enable the
work-around.
2018-01-09 23:31:56 +03:00
lateminer
c3bddf47b2 UI to alert of respend attempt affecting wallet.
ba478d229b
2018-01-09 23:25:37 +03:00
lateminer
070424672b Add -respendnotify option, new RPC data, reg tests
f2a6c79aa1 (diff-b4d9f378d56095dfaad2a3802d633a39)
2018-01-09 22:41:38 +03:00