Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
beem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
hive
beem
Commits
fdf38c4e
Commit
fdf38c4e
authored
7 years ago
by
Holger Nahrstaedt
Browse files
Options
Downloads
Patches
Plain Diff
Version 0.19.2
parent
13f911db
Branches
phone
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
steempy/vote.py
+1
-1
1 addition, 1 deletion
steempy/vote.py
steempyapi/websocket.py
+1
-29
1 addition, 29 deletions
steempyapi/websocket.py
steempybase/objects.py
+0
-15
0 additions, 15 deletions
steempybase/objects.py
with
2 additions
and
45 deletions
steempy/vote.py
+
1
−
1
View file @
fdf38c4e
...
...
@@ -58,7 +58,7 @@ class Vote(VoteObject):
class
ActiveVotes
(
list
):
"""
Obtain a list of pending proposals for a
n accoun
t
"""
Obtain a list of pending proposals for a
pos
t
:param str authorperm: authorperm link
:param steem steem_instance: Steem() instance to use when accesing a RPC
...
...
This diff is collapsed.
Click to expand it.
steempyapi/websocket.py
+
1
−
29
View file @
fdf38c4e
...
...
@@ -32,25 +32,13 @@ class SteemWebsocket(Events):
.. code-block:: python
ws = SteemWebsocket(
"
wss://
node.testnet.bitshares.eu
"
,
"
wss://
gtg.steem.house:8090
"
,
)
ws.on_block += print
ws.run_forever()
Notices:
* ``on_account``:
.. code-block:: js
{
'
id
'
:
'
2.6.29
'
,
'
lifetime_fees_paid
'
:
'
44257768405
'
,
'
most_recent_op
'
:
'
2.9.1195638
'
,
'
owner
'
:
'
1.2.29
'
,
'
pending_fees
'
: 0,
'
pending_vested_fees
'
: 100,
'
total_core_in_orders
'
:
'
6788960277634
'
,
'
total_ops
'
: 505865}
* ``on_block``:
...
...
@@ -58,22 +46,6 @@ class SteemWebsocket(Events):
'
0062f19df70ecf3a478a84b4607d9ad8b3e3b607
'
* ``on_tx``:
.. code-block:: js
{
'
expiration
'
:
'
2017-02-23T09:33:22
'
,
'
extensions
'
: [],
'
operations
'
: [[0,
{
'
amount
'
: {
'
amount
'
: 100000,
'
asset_id
'
:
'
1.3.0
'
},
'
extensions
'
: [],
'
fee
'
: {
'
amount
'
: 100,
'
asset_id
'
:
'
1.3.0
'
},
'
from
'
:
'
1.2.29
'
,
'
to
'
:
'
1.2.17
'
}]],
'
ref_block_num
'
: 62001,
'
ref_block_prefix
'
: 390951726,
'
signatures
'
: [
'
20784246dc1064ed5f87dbbb9aaff3fcce052135269a8653fb500da46e7068bec56e85ea997b8d250a9cc926777c700eed41e34ba1cabe65940965ebe133ff9098
'
]}
"""
__events__
=
[
...
...
This diff is collapsed.
Click to expand it.
steempybase/objects.py
+
0
−
15
View file @
fdf38c4e
...
...
@@ -107,21 +107,6 @@ class Operation(GPHOperation):
return
json
.
dumps
([
self
.
name
.
lower
(),
self
.
op
.
toJson
()])
class
Transfer
(
GrapheneObject
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
if
isArgsThisClass
(
self
,
args
):
self
.
data
=
args
[
0
].
data
else
:
if
len
(
args
)
==
1
and
len
(
kwargs
)
==
0
:
kwargs
=
args
[
0
]
super
().
__init__
(
OrderedDict
([
(
'
from
'
,
String
(
kwargs
[
"
from
"
])),
(
'
to
'
,
String
(
kwargs
[
"
to
"
])),
(
'
amount
'
,
Amount
(
kwargs
[
"
amount
"
])),
(
'
memo
'
,
String
(
kwargs
[
"
memo
"
])),
]))
class
Memo
(
GrapheneObject
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
if
isArgsThisClass
(
self
,
args
):
...
...
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