diff options
| author | Luke Dashjr <[email protected]> | 2011-12-23 10:09:13 -0500 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2011-12-23 10:09:13 -0500 |
| commit | 961cf14ab3e0d16bcecdb64717accd088a0d00aa (patch) | |
| tree | 6c9181d3cda8398d424e4fd0507d225cc0e3a979 | |
| parent | Merge branch '0.5.0.x' into 0.5.x (diff) | |
| parent | Fix #722. (diff) | |
| download | discoin-961cf14ab3e0d16bcecdb64717accd088a0d00aa.tar.xz discoin-961cf14ab3e0d16bcecdb64717accd088a0d00aa.zip | |
Merge branch '0.5.0.x' into 0.5.x
| -rw-r--r-- | contrib/gitian-descriptors/gitian.yml | 2 | ||||
| -rw-r--r-- | src/main.cpp | 2 | ||||
| -rw-r--r-- | src/util.h | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/contrib/gitian-descriptors/gitian.yml b/contrib/gitian-descriptors/gitian.yml index 47164b0af..11ee4dc58 100644 --- a/contrib/gitian-descriptors/gitian.yml +++ b/contrib/gitian-descriptors/gitian.yml @@ -39,7 +39,7 @@ script: | cp $OUTDIR/src/COPYING $OUTDIR cd src sed 's/$(DEBUGFLAGS)//' -i makefile.unix - make -f makefile.unix STATIC=1 DEFS="-I$INSTDIR/include -L$INSTDIR/lib" $MAKEOPTS bitcoind USE_UPNP=0 USE_SSL=1 + make -f makefile.unix STATIC=1 OPENSSL_INCLUDE_PATH="$INSTDIR/include" OPENSSL_LIB_PATH="$INSTDIR/lib" $MAKEOPTS bitcoind USE_UPNP=0 USE_SSL=1 mkdir -p $OUTDIR/bin/$GBUILD_BITS install -s bitcoind $OUTDIR/bin/$GBUILD_BITS cd .. diff --git a/src/main.cpp b/src/main.cpp index a7871fcc1..f21af9047 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2828,7 +2828,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey) // Transaction fee required depends on block size bool fAllowFree = (nBlockSize + nTxSize < 4000 || CTransaction::AllowFree(dPriority)); - int64 nMinFee = tx.GetMinFee(nBlockSize, fAllowFree, true); + int64 nMinFee = tx.GetMinFee(nBlockSize, fAllowFree); // Connecting shouldn't fail due to dependency on other memory pool transactions // because we're already processing them in order of dependency diff --git a/src/util.h b/src/util.h index 1ef0e6f15..dcf060e3e 100644 --- a/src/util.h +++ b/src/util.h @@ -296,6 +296,10 @@ public: // (secure_allocator<> is defined in serialize.h) typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char> > SecureString; +// This is exactly like std::string, but with a custom allocator. +// (secure_allocator<> is defined in serialize.h) +typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char> > SecureString; + |