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
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
c90fd8c4
Commit
c90fd8c4
authored
10 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Fix call names error
parent
eb0b08a5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cutecoin/gui/wot_tab.py
+6
-6
6 additions, 6 deletions
src/cutecoin/gui/wot_tab.py
with
6 additions
and
6 deletions
src/cutecoin/gui/wot_tab.py
+
6
−
6
View file @
c90fd8c4
...
@@ -36,7 +36,7 @@ class WotTabWidget(QWidget, Ui_WotTabWidget):
...
@@ -36,7 +36,7 @@ class WotTabWidget(QWidget, Ui_WotTabWidget):
self
.
graphicsView
.
scene
().
node_signed
.
connect
(
self
.
sign_node
)
self
.
graphicsView
.
scene
().
node_signed
.
connect
(
self
.
sign_node
)
self
.
graphicsView
.
scene
().
node_transaction
.
connect
(
self
.
send_money_to_node
)
self
.
graphicsView
.
scene
().
node_transaction
.
connect
(
self
.
send_money_to_node
)
self
.
graphicsView
.
scene
().
node_contact
.
connect
(
self
.
add_node_as_contact
)
self
.
graphicsView
.
scene
().
node_contact
.
connect
(
self
.
add_node_as_contact
)
self
.
graphicsView
.
scene
().
node_member
.
connect
(
self
.
member
_informations
)
self
.
graphicsView
.
scene
().
node_member
.
connect
(
self
.
identity
_informations
)
app
.
monitor
.
persons_watcher
(
community
).
person_changed
.
connect
(
self
.
handle_person_change
)
app
.
monitor
.
persons_watcher
(
community
).
person_changed
.
connect
(
self
.
handle_person_change
)
self
.
account
=
account
self
.
account
=
account
...
@@ -152,24 +152,24 @@ class WotTabWidget(QWidget, Ui_WotTabWidget):
...
@@ -152,24 +152,24 @@ class WotTabWidget(QWidget, Ui_WotTabWidget):
metadata
metadata
)
)
def
member
_informations
(
self
,
metadata
):
def
identity
_informations
(
self
,
metadata
):
person
=
Person
.
from_metadata
(
metadata
)
person
=
Person
.
from_metadata
(
metadata
)
self
.
parent
.
member
_informations
(
person
)
self
.
parent
.
identity
_informations
(
person
)
def
sign_node
(
self
,
metadata
):
def
sign_node
(
self
,
metadata
):
person
=
Person
.
from_metadata
(
metadata
)
person
=
Person
.
from_metadata
(
metadata
)
self
.
parent
.
certify_
member
(
person
)
self
.
parent
.
certify_
identity
(
person
)
def
send_money_to_node
(
self
,
metadata
):
def
send_money_to_node
(
self
,
metadata
):
person
=
Person
.
from_metadata
(
metadata
)
person
=
Person
.
from_metadata
(
metadata
)
self
.
parent
.
send_money_to_
member
(
person
)
self
.
parent
.
send_money_to_
identity
(
person
)
def
add_node_as_contact
(
self
,
metadata
):
def
add_node_as_contact
(
self
,
metadata
):
# check if contact already exists...
# check if contact already exists...
if
metadata
[
'
id
'
]
==
self
.
account
.
pubkey
\
if
metadata
[
'
id
'
]
==
self
.
account
.
pubkey
\
or
metadata
[
'
id
'
]
in
[
contact
[
'
pubkey
'
]
for
contact
in
self
.
account
.
contacts
]:
or
metadata
[
'
id
'
]
in
[
contact
[
'
pubkey
'
]
for
contact
in
self
.
account
.
contacts
]:
return
False
return
False
self
.
parent
.
add_
member
_as_contact
({
'
name
'
:
metadata
[
'
text
'
],
self
.
parent
.
add_
identity
_as_contact
({
'
name
'
:
metadata
[
'
text
'
],
'
pubkey
'
:
metadata
[
'
id
'
]})
'
pubkey
'
:
metadata
[
'
id
'
]})
def
get_block_mediantime
(
self
,
number
):
def
get_block_mediantime
(
self
,
number
):
...
...
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