fixed MAX_STANDARD_TX_SIZE to match bitcoin core

in bitcoin core MAX_STANDARD_TX_SIZE is 100000, not 102400

https://github.com/bitcoin/bitcoin/blob/master/src/main.h#L43
This commit is contained in:
Aaron Voisine 2014-07-14 16:19:53 -07:00
parent 5397775f50
commit 89b4b78dc4

View file

@ -84,7 +84,7 @@ public class Transaction extends ChildMessage implements Serializable {
public static final int LOCKTIME_THRESHOLD = 500000000; // Tue Nov 5 00:53:20 1985 UTC
/** How many bytes a transaction can be before it won't be relayed anymore. Currently 100kb. */
public static final int MAX_STANDARD_TX_SIZE = 100 * 1024;
public static final int MAX_STANDARD_TX_SIZE = 100000;
/**
* If fee is lower than this value (in satoshis), a default reference client will treat it as if there were no fee.