Skip to content

Commit

Permalink
0.5.0 space & punish (#75)
Browse files Browse the repository at this point in the history
* refactor: optimize random challenges

* feat: Support to modify beneficiary and IP

* feat: space package

* feat: package struct info

* feat: new real-time pricing mechanism

* refactor: remove the offchain worker

* style: replacement version number

* fix: fix unwrap panic

* feat: new space package structure

* merge: merge

* refactor:Update the penalty mechanism

* feat:Support for continuous penalties and penalty freeze periods

* refactor:Optimize the process of punishing miners

* style:Clarify the type of constants

* feat: sminer benchmark

* merge: merge punish

* fix: t as config

Co-authored-by: thirteenggh <thirteenggh@gmail.com>
Co-authored-by: Dean Clark <32699199+thirteenggh@users.noreply.github.com>
  • Loading branch information
3 people committed Jul 29, 2022
1 parent 6d410f5 commit 4456258
Show file tree
Hide file tree
Showing 18 changed files with 1,668 additions and 694 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions c-pallets/file-bank/Cargo.toml
@@ -1,10 +1,10 @@
[package]
name = "pallet-file-bank"
authors = ["CESS LAB"]
version = "0.1.0"
version = "0.5.0"
edition = "2018"
license = "Apache-2.0"
repository = ""
repository = "https://github.com/CESSProject/cess"
description = "FRAME pallet for file-bank management"
readme = "README.md"

Expand Down Expand Up @@ -73,12 +73,12 @@ version = '6.0.0'
[dependencies.pallet-sminer]
default-features = false
path = '../sminer'
version = '0.1.0'
version = '0.5.0'

[dependencies.pallet-file-map]
default-features = false
path = '../file-map'
version = '0.1.0'
version = '0.5.0'

# dev dependencies
[dev-dependencies]
Expand Down Expand Up @@ -109,7 +109,7 @@ std = [
"pallet-balances/std",
"frame-benchmarking/std",
"pallet-file-map/std",
"pallet-sminer/std",

]

runtime-benchmarks = [
Expand Down

0 comments on commit 4456258

Please sign in to comment.