Skip to content

Commit a929c2b

Browse files
authored
Merge pull request #357 from evoskuil/version3
Fix *.fetch_transaction pool returns, bump version.
2 parents ef05305 + bd5fc7a commit a929c2b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
AC_PREREQ([2.65])
1414

1515
# Process command-line arguments and perform initialization and verification.
16-
AC_INIT([libbitcoin-server], [3.0.0], [[email protected]])
16+
AC_INIT([libbitcoin-server], [3.1.0], [[email protected]])
1717

1818
# Do compilation tests.
1919
AC_LANG(C++)

include/bitcoin/server/version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
* For interpretation of the versioning scheme see: http://semver.org
1313
*/
1414

15-
#define LIBBITCOIN_SERVER_VERSION "3.0.0"
15+
#define LIBBITCOIN_SERVER_VERSION "3.1.0"
1616
#define LIBBITCOIN_SERVER_MAJOR_VERSION 3
17-
#define LIBBITCOIN_SERVER_MINOR_VERSION 0
17+
#define LIBBITCOIN_SERVER_MINOR_VERSION 1
1818
#define LIBBITCOIN_SERVER_PATCH_VERSION 0
1919

2020
#endif

src/interface/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void blockchain::fetch_transaction_index(server_node& node,
236236
const auto hash = deserial.read_hash();
237237

238238
// The response is restricted to confirmed transactions (backward compat).
239-
node.chain().fetch_transaction_position(hash, false,
239+
node.chain().fetch_transaction_position(hash, true,
240240
std::bind(&blockchain::transaction_index_fetched,
241241
_1, _2, _3, request, handler));
242242
}

src/interface/transaction_pool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void transaction_pool::fetch_transaction(server_node& node,
4444
}
4545

4646
// The response allows confirmed and unconfirmed transactions.
47-
node.chain().fetch_transaction(hash, true,
47+
node.chain().fetch_transaction(hash, false,
4848
std::bind(transaction_fetched,
4949
_1, _2, _3, _4, request, handler));
5050
}

0 commit comments

Comments
 (0)