Commit graph

364 commits

Author SHA1 Message Date
Chris Vickery
c24df534d6 Allow sidechain-manipulation to use RPC_USER and RPC_PASS from environment 2016-06-16 15:40:11 -07:00
Thomas McCabe
76fdb95bf2 Consolidate settings in constants.py to eliminate redundancies in sidechain-manipulation.py
045b310 Import settings from constants.py into sidechain-manipulation.py

b698a88 Restore original value of secondScriptPubKey to sidechain-manipulation.py

7474a1c Update alpha-README.md - edit RPC info in constants.py instead of sidechain-manipulation.py
2016-05-28 01:50:13 -07:00
Pieter Wuille
29b2412776
Merge pull request #58
c71c2ab Add some additional error handling in ww for slow bitcoinds (Matt Corallo)
2016-02-05 21:16:33 +01:00
Douglas Roark
505a6d11c2 Add CL arg support to sidechain manipulation script
- Add support for command line arguments to the sidechain manipulation script. argparse requires Python 2.7 or 3.2+.
- Add support for unlocking mainchain wallet when running send-to-sidechain.
- Add various bits of help text, some of which may not be quite right.
2015-11-18 09:05:47 -08:00
Matt Corallo
c71c2ab07f Add some additional error handling in ww for slow bitcoinds 2015-11-10 22:11:07 -08:00
Matt Corallo
835757c144 Merge pull request #24 from ElementsProject/fixww
Fix key import while running withdrawwatch
2015-08-21 11:14:24 -07:00
Matt Corallo
29a8740421 Merge pull request #16 from pstratem/issue_15
Limit send-to-sidechain transaction size
2015-07-17 16:53:49 -07:00
Matt Corallo
cba8e6d0ca Fix key import while running withdrawwatch 2015-06-12 00:36:39 -07:00
Patrick Strateman
2319a2e6db add comments around magic numbers 2015-06-11 18:32:27 -07:00
Mark Friedenbach
6602cb4ea2 Do not truncate refund amount when printing debug data to the user
Since '%d' was used, refund values are being truncated from display. This fix uses the floating point '%.16g' format flag instead, the same flag used for displaying the value.
2015-06-11 15:08:28 -07:00
Matt Corallo
2a59ba70f0 Fix spent_from_log formatting 2015-06-10 15:29:29 -07:00
Patrick Strateman
fffc59179f Limit send-to-sidechain transaction size to avoid un-claimable transactions. 2015-06-09 21:29:36 -07:00
Matt Corallo
32d692e901 Be more verbose in blocksign to indicate which funcs are working 2015-06-09 12:27:01 -07:00
Pieter Wuille
c6b3c52459 Elements Alpha branding 2015-06-08 20:27:03 -07:00
Matt Corallo
774d40d6cc SET_SIDECHAIN_KEYS/PORTS: Switch to alpha keys 2015-06-08 20:27:03 -07:00
Glenn Willen
0972c4ac50 FULLFEATURE: Modify tx signatures to also cover input values.
...with significant changes contributed by Pieter Wuille
<pieter.wuille@gmail.com>
2015-06-08 20:27:02 -07:00
Matt Corallo
f8977fa5eb Add contrib/fedpeg for fedpeg signers 2015-06-08 20:26:29 -07:00
Matt Corallo
fd7f08ac21 Add sidechain-manipulation.py script to automate sending/claiming 2015-06-08 20:26:27 -07:00
Cory Fields
047a898317
gitian: don't add . to tar list
Since permissions and timestamps are changed for the sake of determinism,
. must not be added to the archive. Otherwise, tar may try to modify pwd when
extracting.

Rebased-From: 0c6ab676ee
Github-Pull: #5790
2015-02-13 09:55:11 +01:00
Pieter Wuille
58fda4d689
Update seed IPs, based on bitcoin.sipa.be crawler data
Rebased-From: be22b3da1d
Github-Pull: #5532
2015-01-06 11:02:50 +01:00
Cory Fields
221a38024a
dmg: fix deterministic dmg creation and docs
Rebased-From: 0d50c2fd81
Github-Pull: #5569
2015-01-02 17:14:34 +01:00
Cory Fields
b3d67e1c34
gitian: attempt to fix tarball determinisim
Rebased-From: 566c6cb8a2
Github-Pull: #5536
2014-12-27 04:56:14 +01:00
Wladimir J. van der Laan
6e6a36ce30 contrib: show pull # in prompt for github-merge script 2014-12-09 10:16:58 +01:00
Cory Fields
914868a05d build: add a deterministic dmg signer 2014-11-26 00:57:16 -05:00
Cory Fields
d69ed2b291 build: Clean up the dmg layout 2014-11-25 19:26:40 -05:00
Cory Fields
52bb7a7e1b gitian: update descriptors to use a sane uniform output 2014-11-25 18:49:02 -05:00
Cory Fields
246659aff1 gitian: make tarballs deterministic and nuke .la files from build output 2014-11-19 22:49:41 -05:00
Cory Fields
4bbbdf3244 gitian: quick docs update 2014-11-19 22:49:41 -05:00
Cory Fields
1aead42d41 gitian: descriptors overhaul
Descriptors now make use of the dependencies builder, so results are cached.
A very new version (>= e9741525c) of Gitian should be used in order to take
advantage of caching.
2014-11-19 22:49:41 -05:00
Christian von Roques
7ab43583b0 Update bash-completion for v0.10
* Support new rpc commands.
* Several commands now take an optional boolean includeWatchonly argument.
* "help" now has section headers, ignore them when compiling list of commands.
2014-11-16 15:19:29 -04:00
Wladimir J. van der Laan
97a34c28d5
Merge pull request #5051
aedc74d contrib: make linearize-data.py cope with out-of-order blocks (Wladimir J. van der Laan)
2014-10-08 09:47:41 +02:00
Wladimir J. van der Laan
fb5fa86bb4
Merge pull request #5050
772ab0e contrib: use batched JSON-RPC in linarize-hashes (Wladimir J. van der Laan)
2014-10-08 08:54:18 +02:00
Wladimir J. van der Laan
cd3269e38e
contrib: revert changes to github-merge.sh in #5038 2014-10-07 10:00:12 +02:00
Wladimir J. van der Laan
aedc74dfa6 contrib: make linearize-data.py cope with out-of-order blocks
Make it possible to read blocks in any order. This will be required
after headers-first (#4468), so should be merged before that.

- Read block header. For expected blocks, continue, else skip.
- For in-order blocks: copy block contents directly. Write prior
  out-of-order blocks if this connects a consecutive span.
- For out-of-order blocks, store extents of block data for later
  retrieval. Cache out-of-order blocks in memory up to 100MB
  (configurable).
2014-10-06 18:30:12 +02:00
Wladimir J. van der Laan
772ab0ea98 contrib: use batched JSON-RPC in linarize-hashes
Batch up to 10000 requests for a ~30x speedup.
2014-10-06 13:27:13 +02:00
Luke Dashjr
0b17964131 Bugfix: Replace bashisms with standard sh in tests/tools 2014-10-03 23:45:26 +00:00
Luke Dashjr
ab72068565 Bugfix: Replace bashisms with standard sh in gitian descriptors 2014-10-03 23:45:26 +00:00
Cory Fields
dd367ff8c9 build: macdeploy: filter out irrelevant qt5 frameworks and dylibs 2014-10-01 19:26:29 -04:00
Gavin Andresen
965c306d6d
Keep symlinks when copying into .app bundle
Code signing failed for me on OSX 10.9.5 because the
Versions/Current symbolic links were being replaced
with a duplicate copy of the frameworks' code.

Releases were bigger than they needed to be, for the
same reason.
2014-10-01 09:58:00 -04:00
Wladimir J. van der Laan
437634a79e
Merge pull request #5005
af0bd5e osx: fix signing to make Gatekeeper happy (again) (Cory Fields)
2014-10-01 09:00:45 +02:00
Cory Fields
af0bd5ee7f osx: fix signing to make Gatekeeper happy (again)
The approach from 65f3fa8d1 worked for signing on 10.9.4, but not newer
versions. 10.9.5 (and up) want each framework to stand alone.

Now in addition to copying the plist's from Qt for each framework, we put them
in per-version dirs and only symlink to the latest, rather than using symlinks
for any contents.
2014-09-29 22:03:24 -04:00
Matt Corallo
0866948e18 Add 0.9.3 and fix control 2014-09-26 20:51:24 -07:00
Wladimir J. van der Laan
2d782ab2ce
Merge pull request #4611
234bfbf Add init scripts and docs for Upstart and OpenRC (Adam Weiss)
2014-09-16 11:05:38 +02:00
Wladimir J. van der Laan
e5fc6631b9
Merge pull request #4896
07d5287 Catch error when done reading files (Suhas Daftuar)
2014-09-12 19:04:53 +02:00
Gavin Andresen
6a830ec947 Merge pull request #4758 from theuni/osx-dmg-codesign-rebase
build: osx: Fix incomplete framework packaging for codesigning
2014-09-12 12:29:37 -04:00
Suhas Daftuar
07d5287f42 Catch error when done reading files 2014-09-11 09:22:39 -04:00
Adam Weiss
234bfbf6a5 Add init scripts and docs for Upstart and OpenRC 2014-09-09 16:58:06 -04:00
Wladimir J. van der Laan
d800dcc32a
Merge pull request #4762
399cdbc contrib/linearize: Add feature to set file's timestamp based on block header time. (Jeff Garzik)
8f5a423 contrib/linearize: split block files based on year-month, not just year (Jeff Garzik)
75400a2 contrib/linearize: Guarantee that output is generated in-order (Jeff Garzik)
2014-09-04 15:20:33 +02:00
Jeff Garzik
399cdbc700
contrib/linearize: Add feature to set file's timestamp based on block header time. 2014-09-04 15:13:37 +02:00
Wladimir J. van der Laan
da59f28335 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 #4774.
2014-09-01 10:06:15 +02:00