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
e3a08ac9
Commit
e3a08ac9
authored
7 years ago
by
Holger Nahrstaedt
Browse files
Options
Downloads
Patches
Plain Diff
more fixes
parent
7880285c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
beem/account.py
+3
-1
3 additions, 1 deletion
beem/account.py
beem/wallet.py
+2
-2
2 additions, 2 deletions
beem/wallet.py
docs/storage.rst
+3
-3
3 additions, 3 deletions
docs/storage.rst
with
8 additions
and
6 deletions
beem/account.py
+
3
−
1
View file @
e3a08ac9
...
@@ -216,7 +216,9 @@ class Account(BlockchainObject):
...
@@ -216,7 +216,9 @@ class Account(BlockchainObject):
)
)
if
not
mostrecent
:
if
not
mostrecent
:
return
return
if
limit
<
2
:
yield
mostrecent
return
first
=
int
(
mostrecent
[
0
][
0
])
first
=
int
(
mostrecent
[
0
][
0
])
while
True
:
while
True
:
...
...
This diff is collapsed.
Click to expand it.
beem/wallet.py
+
2
−
2
View file @
e3a08ac9
import
logging
import
logging
import
os
import
os
from
graphenebase
import
bip38
from
graphenebase
import
bip38
from
st
eem
py
base.account
import
PrivateKey
,
GPHPrivateKey
from
b
eembase.account
import
PrivateKey
,
GPHPrivateKey
from
.account
import
Account
from
.account
import
Account
from
.exceptions
import
(
from
.exceptions
import
(
KeyNotFound
,
KeyNotFound
,
...
@@ -27,7 +27,7 @@ class Wallet():
...
@@ -27,7 +27,7 @@ class Wallet():
Three wallet operation modes are possible:
Three wallet operation modes are possible:
* **Wallet Database**: Here,
st
eem
py
loads the keys from the
* **Wallet Database**: Here,
b
eem loads the keys from the
locally stored wallet SQLite database (see ``storage.py``).
locally stored wallet SQLite database (see ``storage.py``).
To use this mode, simply call ``Steem()`` without the
To use this mode, simply call ``Steem()`` without the
``keys`` parameter
``keys`` parameter
...
...
This diff is collapsed.
Click to expand it.
docs/storage.rst
+
3
−
3
View file @
e3a08ac9
...
@@ -7,11 +7,11 @@ These classes are very low level and are not well documented.
...
@@ -7,11 +7,11 @@ These classes are very low level and are not well documented.
API
API
---
---
.. autoclass::
st
eem
py
.storage.DataDir
.. autoclass::
b
eem.storage.DataDir
:members:
:members:
.. autoclass::
st
eem
py
.storage.Key
.. autoclass::
b
eem.storage.Key
:members:
:members:
.. autoclass::
st
eem
py
.storage.MasterPassword
.. autoclass::
b
eem.storage.MasterPassword
:members:
:members:
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