Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter-mirage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
duniter-mirage
Commits
b6fb4a92
Commit
b6fb4a92
authored
8 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Support aiohttp 2
parent
f6d32e9c
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
mirage/__init__.py
+1
-0
1 addition, 0 deletions
mirage/__init__.py
mirage/block_forge.py
+1
-1
1 addition, 1 deletion
mirage/block_forge.py
mirage/http.py
+1
-1
1 addition, 1 deletion
mirage/http.py
with
3 additions
and
2 deletions
mirage/__init__.py
+
1
−
0
View file @
b6fb4a92
from
.node
import
Node
from
.user
import
User
from
.block_forge
import
BlockForge
\ No newline at end of file
This diff is collapsed.
Click to expand it.
mirage/block_forge.py
+
1
−
1
View file @
b6fb4a92
...
...
@@ -25,7 +25,7 @@ class BlockForge:
_logger
=
attr
.
ib
(
default
=
attr
.
Factory
(
lambda
:
logging
.
getLogger
(
'
mirage
'
)))
@classmethod
def
start
(
cls
,
currency
,
salt
,
password
,
scrypt_params
,
loop
):
def
start
(
cls
,
currency
,
salt
,
password
,
scrypt_params
):
key
=
SigningKey
(
salt
,
password
,
scrypt_params
)
return
cls
(
currency
,
key
)
...
...
This diff is collapsed.
Click to expand it.
mirage/http.py
+
1
−
1
View file @
b6fb4a92
from
aiohttp
import
web
,
log
,
errors
from
aiohttp
import
web
,
log
import
json
import
socket
from
duniterpy.documents
import
Peer
...
...
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