instagibbs
bab5e9ef7c
Rework CallRPC, use bitcoind cookie auth
2017-02-02 10:58:51 -05:00
Warren Togami
f1878a4462
Use Socks5ErrorString() to decode error responses from socks proxy.
2017-02-02 10:58:51 -05:00
instagibbs
0dbffde100
Fix CTxOut null set/checking
2017-02-02 10:58:51 -05:00
instagibbs
60625007f9
Use dummy nonce for pegin, simplify rpcs
2017-02-02 10:58:51 -05:00
instagibbs
76abf88b1a
Rename wallet-based blinding pubkey lookups
2017-02-02 10:58:51 -05:00
instagibbs
3ee361cc16
Don't DoS ban peers for possibly valid pegin blocks
2017-02-02 10:58:50 -05:00
instagibbs
8b72b641a0
Remove unneeded CT addresses
2017-02-02 10:58:50 -05:00
instagibbs
a727d7629b
Actually enforce withdraw consensus rules
2017-02-02 10:58:50 -05:00
Warren Togami
35c476607e
Make failures to connect via Socks5() more informative and less unnecessarily scary.
...
* The "ERROR" was printed far too often during normal operation for what was not an error.
* Makes the Socks5() connect failure similar to the IP connect failure in debug.log.
Before:
`2016-05-09 00:15:00 ERROR: Proxy error: host unreachable`
After:
`2016-05-09 00:15:00 Socks5() connect to t6xj6wilh4ytvcs7.onion:18333 failed: host unreachable"`
2017-02-02 10:58:50 -05:00
instagibbs
d860e87296
No dust for withdrawlocks
2017-02-02 10:58:50 -05:00
Jonas Nick
b6c20c04fe
Enable peginsign in tx tool
2017-02-02 10:58:50 -05:00
Warren Togami
f7b09664d5
Add CLIENT_VERSION_BUILD to version.
2017-02-02 10:58:50 -05:00
Warren Togami
69eb300ed7
Fix CLI help text to refer to sidechain RPC port 9041 instead of Bitcoin 8332
2017-02-02 10:58:50 -05:00
Warren Togami
4de4fad468
Cleanup and clarify sendtomainchain help text
...
* Get rid of needless newline
* Get rid of confusing "deposit" word, talk instead about the target mainchain address.
* No reason for the Cli and Rpc examples to have different addresses.
* Make the examples actually correct with a value.
2017-02-02 10:58:50 -05:00
Warren Togami
76d648b723
Rename RPC getfundingaddress to getpeginaddress for clarity
...
Improve the help text to better explain what the command does, and how
`getfundingaddress` parallels `getaddress` in necessitating regular backup
of wallet.dat.
2017-02-02 10:58:50 -05:00
Warren Togami
52d9da34b2
Rename RPC claimwithdraw to claimpegin for clarity
2017-02-02 10:58:50 -05:00
Warren Togami
d0feca3dca
Rename blindtrust to validatepegin and invert boolean
...
`validatepegin=0` default means the sidechain will not verify incoming peg transactions against the bitcoind via CallRPC().
No change to default behavior. This only clarifies the meaning of the parameter.
2017-02-02 10:58:50 -05:00
Warren Togami
baa3b0c5cc
Disable -peerbloomfilters by default in sidechains
...
Removes Denial of Service risk on a network that will likely never
have light wallets. User can enable it again if they reallly want it.
2017-02-02 10:58:50 -05:00
Matt Corallo
10249053d0
Add comment explaining check
2017-02-02 10:58:50 -05:00
Pieter Wuille
f4d7ccde48
Never include unknown amounts in listreceived*
2017-02-02 10:58:50 -05:00
Pieter Wuille
09060cfe0d
Fix caching of blinding data
2017-02-02 10:58:50 -05:00
instagibbs
f2538b9530
Added testing of mainchain withdraw tx tracking
2017-02-02 10:58:50 -05:00
instagibbs
f49fc5318d
Reactivated rpc_rawparams (TODO: Split into appropriate squashes)
2017-02-02 10:58:50 -05:00
Matt Corallo
d999fc009f
Default-refuse to sendrawtransaction an unblinded, but could be, tx
2017-02-02 10:58:50 -05:00
instagibbs
95900548d3
Basic locked utxo testing
2017-02-02 10:58:50 -05:00
instagibbs
d8c5160e62
Various updates to locked-output UTXO selection
2017-02-02 10:58:50 -05:00
Matt Corallo
4254f332cd
Disable fInbound requirement for preferred-sync peers
2017-02-02 10:58:50 -05:00
Matt Corallo
c04435d2f0
rotate addresses for new chain again
2017-02-02 10:58:50 -05:00
Matt Corallo
0156202474
Require coinbase outputs be to a specific script
2017-02-02 10:58:49 -05:00
Matt Corallo
184288a6fc
re-enable generate RPC for unsigned chains
2017-02-02 10:58:49 -05:00
Matt Corallo
5427f23c17
new chain
2017-02-02 10:58:49 -05:00
Matt Corallo
44cff58a62
Set network parameters
2017-02-02 10:58:49 -05:00
Matt Corallo
3ab63b48e4
Make withdraw-combines combining to > MAX_MONEY / 100 non-std
2017-02-02 10:58:49 -05:00
Matt Corallo
e4d23926a7
Split genesis output into 100 identical outputs
2017-02-02 10:58:49 -05:00
Matt Corallo
832e8f9a12
Fix genesis block creation
2017-02-02 10:58:49 -05:00
Matt Corallo
40a12f6c68
Change constant keys to shit I found on google
...
(note script/interpreter must match wallet/rpcwallet)
2017-02-02 10:58:49 -05:00
Matt Corallo
12129946d5
Randomly permutate ports
2017-02-02 10:58:49 -05:00
Matt Corallo
7b848b8e5d
Change default datadir
2017-02-02 10:58:49 -05:00
Glenn Willen
c5c68ee439
Give a nice error for "make bitcoind", instead of a misleading one.
2017-02-02 10:58:49 -05:00
Matt Corallo
4d2379f5ac
Rename binaries and shared libraries
2017-02-02 10:58:49 -05:00
Matt Corallo
1cba61ae35
Elements Beta branding
2017-02-02 10:58:49 -05:00
Matt Corallo
51b609ce09
Copy Elements alpha's README
2017-02-02 10:58:49 -05:00
Matt Corallo
455ff66694
Respond to getheaders even in IBD mode
...
This should fix an issue which would crop up if we ever needed to
pause the chain for a period of time - namely that nodes would not
sync again afterwards if they restarted during the pause.
2017-02-02 10:58:49 -05:00
Matt Corallo
dff6b024dd
No DoS for sending a tx/block claiming an unconfirmed btc block
2017-02-02 10:58:49 -05:00
Matt Corallo
cffa0d029c
Enable various script validations always
2017-02-02 10:58:49 -05:00
Glenn Willen
f24cdeeca0
Default --with-libs to "no"
2017-02-02 10:58:49 -05:00
Matt Corallo
5ddb05243c
Add regtest mode with a very large OP_TRUE output
2017-02-02 10:58:49 -05:00
Matt Corallo
e396106f76
Add withdraw-manipulation RPCs
2017-02-02 10:58:49 -05:00
Matt Corallo
4b80cee0f1
Add function to get withdraw outputs which are claim-able
2017-02-02 10:58:49 -05:00
Matt Corallo
3914ec30cf
Add withdraw-locks-creation tracking in txdb
2017-02-02 10:58:49 -05:00