Peer4commit: Project collaborators can change the amount of the tips

Project owners can now choose the amount donated to each commit.

They have a new button “Change project settings” on the project page along the project name.
In this screen they can change 2 things (for now):

  • a text describing their tipping policies that will be displayed on the project page on peer4commit
  • a checkbox that will put all new tips on hold when commits are found

When the checkbox is active, each new commits generates an “undecided” tip and the authors are not notified.
The project owners can then click on a new button on the project page to decide the tip amounts. They have these choices:

  • Leave undecided (to decide later)
  • Free (the commit won’t get any tip and the author won’t be notified)
  • Tiny: 0.1% of the project balance
  • Small: 0.5% of the project balance
  • Normal: 1%
  • Big: 2%
  • Huge: 5%

The authors are notified when the tip amount is decided (unless they have recently been notified already, or if they said they don’t want any more notification, or if they have configured their peercoin address).

The 2 buttons are only available to project collaborators (those who can push changes to the supported repository).

There should be more options in the future. Your ideas are welcome.

This has also been discussed here: https://github.com/sigmike/peer4commit/issues/44

Great, just had a quick look and posted the tipping policies against my experimental Github project. Good work.
Hope this gives the project owners a bit of leverage and get spammy commits out of the way by putting them in the free or tiny category.

Now we just need more trusted project owners who can support the project owner(s) to categorise commits appropriately.

Didn’t you forget to tip yourself for this?

Great work sigmike, ill go through my repositorys and add my tipping policies, ill let u know of I have any issues.

Fuzzybear

Sent from my HTC Desire using Tapatalk 2

I’m waiting to see whether tip4commit also wants this. Because some of my commits should have a modifier applied.

Hope you are aware of an issue with peer4commit projects page. 3 projects show negative amounts:

http://peer4commit.com/projects?page=2

Hope it is not related with the latest changes you made.

Yes. Someone tried to exploit a bug. But since project balances are isolated, it didn’t work or rather he he was only able to withdraw the funds he sent to his own fake project. Actually I knew the bug existed but it was not a priority because I knew this isolation existed.

It’s fixed now.

His funds are still on peer4commit though, because he was not able to withdraw most of them.
He reported the bug here: https://github.com/sigmike/peer4commit/issues/68 (and posted a follow up here after the fix: https://github.com/sigmike/peer4commit/issues/70)

[quote=“sigmike, post:6, topic:2089”]Yes. Someone tried to exploit a bug. But since project balances are isolated, it didn’t work or rather he he was only able to withdraw the funds he sent to his own fake project. Actually I knew the bug existed but it was not a priority because I knew this isolation existed.

It’s fixed now.

His funds are still on peer4commit though, because he was not able to withdraw most of them.
He reported the bug here: https://github.com/sigmike/peer4commit/issues/68 (and posted a follow up here after the fix: https://github.com/sigmike/peer4commit/issues/70)[/quote]
Great, you are on top of it and good to see we have some ‘testers’.

I’m glad we have people who help to crowd-source a tool’s QA! Presumably, now that the (apparent) vulnerability has been closed, they can retrieve their “test” donated funds with new commits to the repo, and then self-approve it until they deplete the balance?

No because he generated tips that failed to be sent. They exist so they empty the project balance, but they were not actually sent. To avoid duplication of tips in such abnormal situation, they stay in that state until manual intervention. I’m not sure what I should do with them. There’s about 500 PPC.

How much of the funds are stored offline?

@super3, good to see you are getting more involved in the forum.

Have been asking your question and many others here: Cryptoblog - notícias sobre bitcoin e criptomoedas! and Sigmike made effort to answer them all. Work is still underway in this area.