Commit graph

6338 commits

Author SHA1 Message Date
michilumin ec2cc2aeef
From Bitcoin: ea3c1b0 and Bitcoin: af25208: Add maximum orphan blocks and maximum orphan TX limits in memory, and accordant command line options in dogecoind. Basic tests to see if command line arguments changed maximum (predefined) limits. 2014-09-27 20:22:51 -06:00
shshshsh 5cda7594f0 Make max number of orphan blocks kept in memory a startup parameter (fixes #4253)
Rebased-From: 7b45d943b2

Conflicts:
	src/init.cpp
	src/main.h
2014-09-27 20:03:01 -06:00
Gavin Andresen 8a88bb6550 Store fewer orphan tx by default, add -maxorphantx option
There is no reason to store thousands of orphan transactions;
normally an orphan's parents will either be broadcast or
mined reasonably quickly.

This pull drops the maximum number of orphans from 10,000 down
to 100, and adds a command-line option (-maxorphantx) that is
just like -maxorphanblocks to override the default.

Conflicts:
	src/main.h
2014-09-27 14:33:07 -06:00
michilumin 94cf9e41d5
Initial check in of branch for conflict resolution 2014-09-27 14:30:53 -06:00
langerhans 649b819fe9 Merge pull request #716 from patricklodder/1.8.1-dev-lang-cleanup
Locale cleanup
2014-09-25 21:58:38 +02:00
langerhans 921685ceab Merge pull request #715 from patricklodder/1.8.1-dev-nl-update
NL translation update
2014-09-25 21:54:56 +02:00
Patrick Lodder 331609fe3e Clean up all locale .ts files
Used the new update-translations.py script to clean up all
locale files. Unlike bitcoin/bitcoin, we're keeping the
unfinished translation tags in place as long as we have
manual translations (whereas bitcoin uses transifex)
2014-09-25 00:43:39 +02:00
Patrick Lodder d00af20df5 Fix translation sprintf and qt string formats
Some translations had non-matching formats, the update-translations
script would normally remove those and set it to "unfinished".
However, since those are fairly trivial to fix, those have been
manually corrected before doing a cleanup run with the update script.
2014-09-25 00:43:39 +02:00
Patrick Lodder 58f7f964a5 Disable translation processes we currently don't use
- Disable transifex process
- Disable removal of unfinished tags
2014-09-25 00:43:36 +02:00
Patrick Lodder 25573eb06b locale fix: DogecoinS -> DOGECOINS
Fix wrong capitalization in wallet encryption warning message:

"If you encrypt your wallet and lose your passphrase, you will
LOSE ALL OF YOUR DOGECOINS"
2014-09-25 00:18:43 +02:00
Patrick Lodder e37485b5af NL translation update 2014-09-24 23:22:09 +02:00
langerhans df12fc389f Merge pull request #709 from rnicoll/1.8.1-docs
Correct out of date build documentation
2014-09-23 23:24:57 +02:00
langerhans d2f8f916bb Merge pull request #708 from rnicoll/1.8.1-dev-millisleep
Remove useless MilliSleep() from network code
2014-09-23 23:22:30 +02:00
langerhans df29b21b43 Merge pull request #707 from rnicoll/1.8.1-dup-orphan
Avoid repeated lookups in mapOrphanTransactions and mapOrphanTransactionsByPrev
2014-09-23 23:21:30 +02:00
langerhans 80105d09bc Merge pull request #704 from patricklodder/1.8.1-dev-lang-update
Language update from upstream
2014-09-23 23:20:48 +02:00
langerhans 038a247ff9 Merge pull request #701 from rnicoll/1.8-dev-elliptic-curve
Fail with a friendlier message on missing OpenSSL EC support
2014-09-23 23:19:37 +02:00
Ross Nicoll 7cebf77b53 Merge pull request #713 from michilumin/1.8.1-dev-limit-mapaskfor
1.8.1 dev limit mapaskfor
2014-09-22 20:06:43 +00:00
Ross Nicoll 2a17619e34 Merge pull request #710 from patricklodder/1.8.1-dev-trans-xml-check
Add deeper XML checking to update-translation script (from bitcoin/bitcoin)
2014-09-22 20:06:34 +00:00
Ross Nicoll 3d45325b09 Merge pull request #712 from michilumin/1.8.1-dev-libc-compat
1.8.1 dev libc compat
2014-09-22 18:11:16 +00:00
Ross Nicoll fb27fed09b Corrected credit for AndyMeows in release notes. 2014-09-22 18:43:53 +01:00
michilumin b33b3cf376
From Bitcoin d03093: Limit CNode::mapAskFor by constraining it to MAX_INV_SZ which is hardcoded to
50,000 entries. Tested by temporarily constraining MAPASKFOR_MAX_SZ to 1 entry and observing return behavior in AskFor(const CInv& inv). Passed all Boost tests.
2014-09-21 23:57:26 -06:00
Wladimir J. van der Laan 4ada10ac12 Limit CNode::mapAskFor
Tighten resource constraints on CNode.

Rebased-From: d4168c8
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-09-21 21:43:49 -06:00
michilumin 02d85f4f89
From Bitcoin 49df14: Added new ctor and dtor for length_error(), tested on old Linux VMs with gcc 4.1.2, glibc 2.5-118 2014-09-21 21:25:59 -06:00
Wladimir J. van der Laan cff61aaddd Add deeper XML checking to update-translation script
- Catch problems such as mismatched formatting characters. Remove
  messages that can give problems at runtime.

- Also remove unfinished/untranslated messages, they just take up space
  in the ts and waste parsing time.

Fixes bitcoin issue 4774.

cherry-picked from: bitcoin b62172a
2014-09-20 16:16:09 +02:00
Patrick Lodder c6e0ab9a40 change "Bitcoin" into "Dogecoin" in *.ts after translation sync
with bitcoin/bitcoin
2014-09-20 16:03:52 +02:00
Patrick Lodder fae9b5b3ce Revert cyrillic in bitcoin_de_AT.ts 2014-09-20 16:03:31 +02:00
Ross Nicoll c35d680d08
Added early-stage 1.8.1 release notes. 2014-09-20 10:33:52 +01:00
Ross Nicoll 213f2bdfef
Added notes about Berkeley DB version incompatibility under Debian.
Added note about incomplete OpenSSL libraries on Fedora.
2014-09-20 10:20:47 +01:00
Wladimir J. van der Laan 455b9e380c build: Remove message about Ubuntu 13.10 when no boost sleep implementation found
It's only confusing people into thinking that they should mess with
boost versions, which should not be necessary to get bitcoind to work.

If there is a bug in the build system with autodetecting boost it needs
to be solved not worked around.

Rebased-From: 539abc4729
2014-09-20 10:05:46 +01:00
Wladimir J. van der Laan bd169ec117 doc: Remove outdated information about boost versions
Bitcoin core should work with any remotely recent boost version
if a proper build environment is present. Remove a confusing comment
from the build documentation.

Rebased-From: bd45b1a

Conflicts:
	doc/build-unix.md
2014-09-20 10:05:26 +01:00
phantomcircuit 6a15955363 remove useless millisleep
reduces time to service requests improving performance

Rebased-From: 9189f5fe4d
2014-09-18 21:43:56 +01:00
Gavin Andresen 678ea26b47 Fix crashing bug caused by orphan(s) with duplicate prevout.hash
Rebased-From: def2fdb
Rebased-By: Wladimir J. van der Laan
2014-09-18 20:56:27 +01:00
Wladimir J. van der Laan 5819a76d39 Avoid repeated lookups in mapOrphanTransactions and mapOrphanTransactionsByPrev
Rebased-From: 89d91f6
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-09-18 20:56:16 +01:00
Andrew Poelstra 118d5dfe43 key.cpp: fail with a friendlier message on missing ssl EC support
Previously if bitcoind is linked with an OpenSSL which is compiled
without EC support, this is seen as an assertion failure "pKey !=
NULL" at key.cpp:134, which occurs after several seconds. It is an
esoteric piece of knowledge to interpret this as "oops, I linked
with the wrong OpenSSL", and because of the delay it may not even
be noticed.

The new output is

: OpenSSL appears to lack support for elliptic curve cryptography. For
more information, visit
https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries
: Initialization sanity check failed. Bitcoin Core is shutting down.

which occurs immediately after attempted startup.

This also blocks in an InitSanityCheck() function which currently only
checks for EC support but should eventually do more. See #4081.
2014-09-18 20:29:35 +01:00
langerhans 720b7eb818 Merge pull request #696 from whitj00/patch-5
Remove pyminer (SHA-Only)
2014-09-18 17:37:58 +02:00
langerhans 576928108a Merge pull request #695 from michilumin/1.8.1-dev-string-length
1.8.1 dev string length
2014-09-18 17:36:24 +02:00
Wladimir J. van der Laan 02b9c56da5 qt: Language update for 0.9.3
cherry-picked from: bitcoin #e6abbce

NOTE: bitcoin_ko_KR.ts only contained translations that were
overwriting custom dogecoin-specific translations done by
@nameEO, those have been skipped.
2014-09-14 23:44:43 +02:00
Cory Fields 9082dfbb3f libc-compat: add new symbol that's now needed
Rebased-From: 565e569
2014-09-11 20:39:42 -06:00
Ross Nicoll 4c5276d4ad Merge pull request #693 from Andymeows/1.8.1-dev
Adding paper wallet printing support
2014-09-10 22:42:17 +01:00
Andymeows c71d666465 :Changing the amount input from text to a double. This will facilitate loading address with fractional dogecoins. 2014-09-08 00:14:28 -05:00
Andymeows b2e4d66dca Adding an early return for values that indicate 0 DOGE to send to the paper wallets.
Add the ability to send fractional amounts to paper wallets
2014-09-07 01:00:34 -05:00
Andy Mornes 621e99b702 Removing duplicate verticallabel.cpp from Makefile.am
Adding constants in place of raw numbers
Adding early exits from for loops
2014-09-04 23:01:26 -04:00
Whit J 31466c7923 Update README.md 2014-09-02 21:03:12 -07:00
Whit J 07b92057ba Delete README.md 2014-09-02 21:02:45 -07:00
Whit J 3662dbdc4c Delete example-config.cfg 2014-09-02 21:02:27 -07:00
Whit J c25ce7e69b Delete pyminer.py 2014-09-02 21:02:21 -07:00
Whit J 3410a03276 Bit -> Dogecoin
Seems simple
2014-09-02 20:23:05 -07:00
Andymeows 4655221935 Adding a missing backslash 2014-09-01 02:29:38 -04:00
Andy Mornes 2c16a446d7 Wrapping a string for translation 2014-09-01 02:20:50 -04:00
Andy Mornes e6d2af98a6 Fixing whitespace 2014-09-01 00:16:42 -04:00