-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v10.4.0 #2242
v10.4.0 #2242
Conversation
Add `getmempoolinfo` endpoint
Check previous block
Log API v1 responses
Use order caching only during catch-up
Prepare release
Merge `master` in `develop`
@@ -910,7 +973,9 @@ | |||
else: | |||
assert block_index == util.CURRENT_BLOCK_INDEX | |||
|
|||
if source and (data or destination == config.UNSPENDABLE or dispensers_outs): | |||
if (source and (data or destination == config.UNSPENDABLE or dispensers_outs)) or len( |
Check warning
Code scanning / pylint
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it. Warning
def sigmoid(t): | ||
return 1 / (1 + math.exp(-k * (t - 0.5))) | ||
|
||
if x <= a: |
Check warning
Code scanning / pylint
Unnecessary "elif" after "return", remove the leading "el" from "elif". Warning
return message | ||
|
||
|
||
def parse(db, tx): |
Check warning
Code scanning / pylint
Too many branches (13/12). Warning
|
||
dispense_index = 0 | ||
|
||
for next_out in outs: |
Check warning
Code scanning / pylint
Too many nested blocks (6/5). Warning
) | ||
|
||
|
||
def validate( |
Check warning
Code scanning / pylint
Too many branches (36/12). Warning
@@ -30,6 +30,7 @@ | |||
util, | |||
) | |||
from counterpartycore.lib.backend import addrindexrs | |||
from counterpartycore.lib.messages import dispense # noqa: F401 |
Check warning
Code scanning / pylint
Unused dispense imported from counterpartycore.lib.messages. Warning
) | ||
|
||
|
||
def compose_movetoutxo(db, utxo: str, destination: str, more_utxos: str = ""): |
Check warning
Code scanning / pylint
Unused argument 'db'. Warning
os.path.dirname(config.DATABASE), "regtest_disabled_changes.json" | ||
) | ||
if os.path.exists(regtest_protocole_file): | ||
with open(regtest_protocole_file) as f: |
Check warning
Code scanning / pylint
Using open without explicitly specifying an encoding. Warning
os.path.dirname(config.DATABASE), "regtest_disabled_changes.json" | ||
) | ||
if os.path.exists(regtest_protocole_file): | ||
with open(regtest_protocole_file) as f: |
Check warning
Code scanning / pylint
Redefining name 'f' from outer scope (line 546). Warning
@@ -584,3 +633,22 @@ | |||
|
|||
def ib2h(b): | |||
return inverse_hash(b2h(b)) | |||
|
|||
|
|||
def is_utxo_format(value): |
Check warning
Code scanning / pylint
Too many return statements (7/6). Warning
Merge pull request #2242 from CounterpartyXCP/develop
https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.4.0