Skip to content

Conversation

@random-zebra
Copy link

@random-zebra random-zebra commented Aug 2, 2019

This is based on top of #955 (only the last commit, 5a6eab590505d409481ee3f385d65b09f40bb8fd , is relevant for this PR).

It sets Cold Staking activation via SPORK instead of having it height-based.

When SPORK_17_COLDSTAKING_ENFORCEMENT is not active (default), transactions with P2CS outputs are rejected on the network. This way only cold-staking and new delegations are disabled while coin-owners can still spend their coins.

@random-zebra random-zebra added this to the 4.0.0 milestone Aug 2, 2019
@random-zebra random-zebra self-assigned this Aug 2, 2019
@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch 8 times, most recently from bf1a2ac to 6ea8599 Compare August 7, 2019 20:04
@random-zebra
Copy link
Author

rebased

@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch from 6ea8599 to d668235 Compare August 8, 2019 00:02
@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch from d668235 to bc4a99f Compare September 4, 2019 01:11
@random-zebra
Copy link
Author

Rebased.

@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch from bc4a99f to 0ff825d Compare September 4, 2019 14:26
@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch 2 times, most recently from bc90cdd to 6240435 Compare September 23, 2019 03:02
@random-zebra
Copy link
Author

Rebased on top of #1000

@random-zebra
Copy link
Author

Rebased.

@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch 6 times, most recently from 4042c88 to f69e7af Compare October 2, 2019 00:10
@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch 10 times, most recently from 8e7a032 to 8ec8f13 Compare October 14, 2019 22:14
@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch 7 times, most recently from 41265df to c5c56f9 Compare October 21, 2019 04:37
@furszy furszy requested review from Fuzzbawls and Warrows October 23, 2019 17:48
@furszy
Copy link

furszy commented Oct 23, 2019

rebase needed

define SPORK_17_COLDSTAKING_ENFORCEMENT. When such spork is not active, transactions with P2CS outputs are rejected
@random-zebra random-zebra force-pushed the 2019_coldStaking_spork branch from c5c56f9 to fffc6c5 Compare October 23, 2019 19:41
@random-zebra
Copy link
Author

Rebased

Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fffc6c5

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fffc6c5

furszy added a commit that referenced this pull request Oct 24, 2019
fffc6c5 [Core] Lower the banscore for P2CS when spork 17 disabled to 10 (random-zebra)
20effe6 [Consensus] Set Cold Staking activation via SPORK (random-zebra)

Pull request description:

  This is based on top of #955 (only the last commit, 5a6eab590505d409481ee3f385d65b09f40bb8fd , is relevant for this PR).

  It sets Cold Staking activation via SPORK instead of having it height-based.

  When `SPORK_17_COLDSTAKING_ENFORCEMENT` is **not** active (default), transactions with P2CS outputs are rejected on the network. This way only cold-staking and new delegations are disabled while coin-owners can still spend their coins.

ACKs for top commit:
  furszy:
    ACK fffc6c5
  Fuzzbawls:
    ACK fffc6c5

Tree-SHA512: bac8e267d0c6f74896cf6915c67de6880d033aaf757f3ac0564bf816bf5fa5abe91b41dc8f90328e8a028026ddd1e6636023c6bcc405041813841ee231e22565
@furszy furszy merged commit fffc6c5 into PIVX-Project:master Oct 24, 2019
@random-zebra random-zebra deleted the 2019_coldStaking_spork branch September 24, 2020 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants