mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
doc: fix some typos
Signed-off-by: crazeteam <lilujing@outlook.com>
This commit is contained in:
parent
b5ed13a240
commit
52fa0d285f
4 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ Date: Fri May 6 11:03:04 2022 +0100
|
|||
build: use -fcommon to retain legacy behaviour with GCC 10
|
||||
|
||||
GCC 10 started using -fno-common by default, which causes issues with
|
||||
the powerpc builds using gibc 2.27. A patch was commited to glibc to fix
|
||||
the powerpc builds using gibc 2.27. A patch was committed to glibc to fix
|
||||
the issue, 18363b4f010da9ba459b13310b113ac0647c2fcc but is non-trvial
|
||||
to backport, and was broken in at least one way, see the followup in
|
||||
commit 7650321ce037302bfc2f026aa19e0213b8d02fe6.
|
||||
|
|
|
@ -359,7 +359,7 @@ public:
|
|||
* @param bytes the approximate number of bytes to use for this data
|
||||
* structure
|
||||
* @returns A pair of the maximum number of elements storable (see setup()
|
||||
* documentation for more detail) and the approxmiate total size of these
|
||||
* documentation for more detail) and the approximate total size of these
|
||||
* elements in bytes or std::nullopt if the size requested is too large.
|
||||
*/
|
||||
std::optional<std::pair<uint32_t, size_t>> setup_bytes(size_t bytes)
|
||||
|
|
|
@ -1617,7 +1617,7 @@ public:
|
|||
//! Produce a witness for this script, if possible and given the information available in the context.
|
||||
//! The non-malleable satisfaction is guaranteed to be valid if it exists, and ValidSatisfaction()
|
||||
//! is true. If IsSane() holds, this satisfaction is guaranteed to succeed in case the node's
|
||||
//! conditions are satisfied (private keys and hash preimages available, locktimes satsified).
|
||||
//! conditions are satisfied (private keys and hash preimages available, locktimes satisfied).
|
||||
template<typename Ctx>
|
||||
Availability Satisfy(const Ctx& ctx, std::vector<std::vector<unsigned char>>& stack, bool nonmalleable = true) const {
|
||||
auto ret = ProduceInput(ctx);
|
||||
|
|
|
@ -22,7 +22,7 @@ class BlockSyncTest(BitcoinTestFramework):
|
|||
# node0 -> node1 -> node2
|
||||
# So node1 has both an inbound and outbound peer.
|
||||
# In our test, we will mine a block on node0, and ensure that it makes
|
||||
# to to both node1 and node2.
|
||||
# to both node1 and node2.
|
||||
self.connect_nodes(0, 1)
|
||||
self.connect_nodes(1, 2)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue