Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
06d5e365
Commit
06d5e365
authored
9 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
More verbose logging
parent
519fbaef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cutecoin/core/net/node.py
+4
-2
4 additions, 2 deletions
src/cutecoin/core/net/node.py
src/cutecoin/gui/identities_tab.py
+0
-4
0 additions, 4 deletions
src/cutecoin/gui/identities_tab.py
with
4 additions
and
6 deletions
src/cutecoin/core/net/node.py
+
4
−
2
View file @
06d5e365
...
@@ -302,7 +302,8 @@ class Node(QObject):
...
@@ -302,7 +302,8 @@ class Node(QObject):
except
ValueError
as
e
:
except
ValueError
as
e
:
if
'
404
'
in
str
(
e
):
if
'
404
'
in
str
(
e
):
self
.
main_chain_previous_block
=
None
self
.
main_chain_previous_block
=
None
logging
.
debug
(
"
Error in block reply
"
)
logging
.
debug
(
"
Error in previous block reply : {0}
"
.
format
(
self
.
pubkey
))
logging
.
debug
(
str
(
e
))
self
.
changed
.
emit
()
self
.
changed
.
emit
()
except
ClientError
:
except
ClientError
:
logging
.
debug
(
"
Client error : {0}
"
.
format
(
self
.
pubkey
))
logging
.
debug
(
"
Client error : {0}
"
.
format
(
self
.
pubkey
))
...
@@ -319,7 +320,8 @@ class Node(QObject):
...
@@ -319,7 +320,8 @@ class Node(QObject):
if
'
404
'
in
str
(
e
):
if
'
404
'
in
str
(
e
):
self
.
main_chain_previous_block
=
None
self
.
main_chain_previous_block
=
None
self
.
set_block
(
None
)
self
.
set_block
(
None
)
logging
.
debug
(
"
Error in block reply
"
)
logging
.
debug
(
"
Error in block reply : {0}
"
.
format
(
self
.
pubkey
))
logging
.
debug
(
str
(
e
))
self
.
changed
.
emit
()
self
.
changed
.
emit
()
except
ClientError
:
except
ClientError
:
logging
.
debug
(
"
Client error : {0}
"
.
format
(
self
.
pubkey
))
logging
.
debug
(
"
Client error : {0}
"
.
format
(
self
.
pubkey
))
...
...
This diff is collapsed.
Click to expand it.
src/cutecoin/gui/identities_tab.py
+
0
−
4
View file @
06d5e365
...
@@ -163,10 +163,6 @@ class IdentitiesTabWidget(QWidget, Ui_IdentitiesTab):
...
@@ -163,10 +163,6 @@ class IdentitiesTabWidget(QWidget, Ui_IdentitiesTab):
@asyncify
@asyncify
@asyncio.coroutine
@asyncio.coroutine
def
send_money_to_identity
(
self
,
identity
):
def
send_money_to_identity
(
self
,
identity
):
if
isinstance
(
identity
,
str
):
pubkey
=
identity
else
:
pubkey
=
identity
.
pubkey
result
=
yield
from
TransferMoneyDialog
.
send_money_to_identity
(
self
.
app
,
self
.
account
,
self
.
password_asker
,
result
=
yield
from
TransferMoneyDialog
.
send_money_to_identity
(
self
.
app
,
self
.
account
,
self
.
password_asker
,
self
.
community
,
identity
)
self
.
community
,
identity
)
if
result
==
QDialog
.
Accepted
:
if
result
==
QDialog
.
Accepted
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment