[pull] master from Codaone:master#3
Merged
pull[bot] merged 64 commits intofakegit:masterfrom May 3, 2019
Merged
Conversation
Default expiration time of 30 seconds may be too low in some cases (slow connection, time differences between local machine and the node). Also, time to irreversible block is more than 30 seconds. In case of chain microforks a node can recover transactions from shorter chain if they are not expired yet. E.g., with bigger expiration trx inclusion in irreversible block is more reliable.
Trx expiration must fit into limit "head block time + 1 day". If it's not, the node is not properly synced (blockchain state) or client machine time is too much in the future. As a solution, try to switch node, and if it didn't help raise error to the user. Closes: #250
Added PEP8 testing to the MakeFile which does the following: 1. Installs Flake8 3.7.7 with dependencies 2. Runs flake8 test for dexbot folder 3. Uninstalls Flake8 with dependencies so that the project's build does not grow too much in size
Runs pep-test before building
Includes the max line length of 120 and excludes some auto generated python files
Moved all the pip install packages on one line and fixed the package installation
- Removed unused imports - Changed 'dexbot.helper' import to be more specific - Fixed 'os' import, since it doesn't come from 'dexbot.helper' anymore
Added some missing new lines from end of the files and removed one extra
locking sqlalchemy version it to 1.3.0 to keep things in order
In b3e8ff1 default logfile was changed to the same directory where the cli executable is. This is a wrong approach as dexbot can be installed in multiple ways. System-wide install will put the binary into /usr/bin/dexbot-cli. Applicateion must not try to log into /usr/bin/. This change makes logging consistent with GUI, which stores the log into user data directory, like ~/.local/share/dexbot/dexbot.log Closes: #490, #540
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]