forked from CounterpartyXCP/counterparty-core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the future is now: moving counterparty-cli into counterparty-lib
Last commit from github.com/CounterpartyXCP/counterparty-cli repo: """ Merge pull request CounterpartyXCP#128 from pataegrillo/master - Adding checkdb as a new parameter that will be used by counterparty to perform a database integrity check Commit: 0f7a0a2 [0f7a0a2] """ (cherry picked from commit b9b793f) (cherry picked from commit 3f226ed)
- Loading branch information
Showing
21 changed files
with
2,242 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# precompiled python | ||
*.pyc | ||
|
||
# Setuptools distribution folder. | ||
/dist/ | ||
|
||
# Setuptools build folder. | ||
/build/ | ||
|
||
# Python egg metadata, regenerated from source files by setuptools. | ||
/*.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
language: python | ||
python: | ||
- "3.4" | ||
install: | ||
- pip install -r requirements.txt | ||
- python setup.py install | ||
script: echo "Correctly installed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Security Issues | ||
|
||
* If you’ve identified a potential **security issue**, please contact us | ||
directly at <support@counterparty.io>. | ||
|
||
|
||
# Reporting an Issue | ||
|
||
* Check to see if the issue has already been reported. | ||
|
||
* Run with verbose logging and paste the relevant log output. | ||
|
||
* List the exact version/commit being run, as well as the platform the software | ||
is running on. | ||
|
||
|
||
# Making a Pull Request | ||
|
||
* Make (almost) all pull requests against the `develop` branch. | ||
|
||
* All original code should follow [PEP8](https://www.python.org/dev/peps/pep-0008/). | ||
|
||
* Code contributions should be well‐commented. | ||
|
||
* Commit messages should be neatly formatted and descriptive, with a summary line. | ||
|
||
* Commits should be organized into logical units. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Command Line Interface Versions ## | ||
* master (unreleased) | ||
* Added indexd arguments | ||
* removed backend-name argument | ||
* v1.1.4 (2017/10/26) | ||
* Added enhanced send arguments support. | ||
* v1.1.3 (2017/05/01) | ||
* Added `vacuum` command to server CLI. | ||
* v1.1.2 (2016/07/11) | ||
* Added P2SH support (to match counterparty-lib 9.55.0) | ||
* added `get_tx_info` command | ||
* added `--disable-utxo-locks` to `compose_transaction` to disable the locking of selected UTXOs for when the 'user' doesn't intend to broadcast the TX (straight away) | ||
* Peg dependency versions in `setup.py` | ||
* Added `debug_config` argument to print config to CLI. | ||
* Added `--quiet` flag to `bootstrap` command | ||
* Logging improvements | ||
* Removed `rps` and `rpsresolve` commands | ||
* Updated `README.md` | ||
* v1.1.1 (2015/04/20) | ||
* Fix `broadcast` command | ||
* Cleaner, Commented-out Default Config Files | ||
* Support new configuration parameter: `no-check-asset-conservation`, `rpc-batch-size`, `requests-timeout` | ||
* v1.1.0 (2015/03/31) | ||
* Code reorganisation | ||
* Remove `market` command | ||
* Add `getrows` command | ||
* Add `clientapi` module | ||
* Rename `get_running_info` to `getinfo` | ||
* Rename `backend-ssl-verify` to `backend-ssl-no-verify` | ||
* Rename `rpc-allow-cors` to `rpc-no-allow-cors` | ||
* Change installation procedure | ||
* v1.0.1 (2015/03/18) | ||
* Update minimum `counterparty-lib` version from `v9.49.4` to `v9.50.0` | ||
* v1.0.0 (2015/02/05) | ||
* Initial Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Copyright (c) 2013-Present Counterparty Developers | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[![Latest Version](https://pypip.in/version/counterparty-cli/badge.svg)](https://pypi.python.org/pypi/counterparty-cli/) | ||
[![Supported Python versions](https://pypip.in/py_versions/counterparty-cli/badge.svg)](https://pypi.python.org/pypi/counterparty-cli/) | ||
[![License](https://pypip.in/license/counterparty-cli/badge.svg)](https://pypi.python.org/pypi/counterparty-cli/) | ||
[![Slack Status](http://slack.counterparty.io/badge.svg)](http://slack.counterparty.io) | ||
|
||
`counterparty-cli` is a command line interface for [`counterparty-lib`](https://github.com/CounterpartyXCP/counterparty-lib). | ||
|
||
For installation and configuration instructions, see the [`counterparty-lib README`](https://github.com/CounterpartyXCP/counterparty-lib), as well as the [Official Project Documentation](http://counterparty.io/docs/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import os, sys | ||
|
||
APP_VERSION = '1.1.5' | ||
|
||
CURR_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser('__file__')))) | ||
WIN_EXE_LIB = os.path.normpath(os.path.join(CURR_DIR, 'library')) | ||
if os.path.isdir(WIN_EXE_LIB): | ||
sys.path.insert(0, WIN_EXE_LIB) | ||
|
||
def client_main(): | ||
from counterpartycli import client | ||
client.main() | ||
|
||
def server_main(): | ||
from counterpartycli import server | ||
server.main() |
Oops, something went wrong.