Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 26 19:11
    hswick removed as member
  • Apr 26 19:11
    hswick removed as member
  • Oct 25 2020 17:32

    teutsch on master

    update (compare)

  • Dec 12 2019 04:03
    mrsmkl edited as member
  • Dec 12 2019 04:03
    hswick edited as member
  • Dec 12 2019 04:03
    bloodstalker edited as member
  • Dec 12 2019 04:01
    mrsmkl edited as member
  • Dec 12 2019 03:54
    mrsmkl edited as member
  • Dec 12 2019 03:54
    mrsmkl edited as member
  • Dec 12 2019 03:53
    mrsmkl edited as member
  • Nov 08 2019 07:23

    teutsch on master

    Update README.md (compare)

  • Oct 03 2019 12:42
    mrsmkl unassigned #70
  • Oct 03 2019 06:56

    mrsmkl on rollback

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on rollback2

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on master

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on master

    (compare)

  • Oct 03 2019 06:52

    mrsmkl on rollback2

    (compare)

  • Oct 02 2019 14:10

    mrsmkl on master

    (compare)

  • Oct 02 2019 14:09

    mrsmkl on master

    (compare)

  • Oct 02 2019 14:08

    mrsmkl on master

    (compare)

Sami Mäkelä
@mrsmkl
I updated the script for libff at wasm-ports
imTyrant
@imTyrant
Oh! Thank you very much! I'll try the new script!
Bruno Barroca
@githubbrunob
cheers
imTyrant
@imTyrant
Hi, guys. How can I know how many TRUs a task needs to consume after it has been executed?
Jason Teutsch
@teutsch
We must to establish a market price for TRU, relative to the true cost of electricity per CPU cycle, in order to price a task. I believe that the Task Giver sets the price in the current implementation, but we'll need to enforce a lower bound on mainnet because underpricing a task eliminates the incentive for verification. In the long run, the task pricing mechanism must be decentralized.
imTyrant
@imTyrant
@teutsch Thank you for your explanation! Let me repeat it again. If there is a problem with my understanding, please point it out. In general, it is similar to "the market" in the economics which determines the price of commodity. Ideally, all participants, including Task Givers and Solvers in Truebit, will agree on the price of per CPU cycle, which is somewhat similar to gasPrice in Ethemum which floats around 8 Gwei. However, it seems the computational capacity still is bounded, since the total TRU consumption is related to the total CPU cycle used. is it somewhat similar to the gas in Ethereum?
And one more question, is there any tools can tell me how much CPU cycle a task will take?
Sami Mäkelä
@mrsmkl
@imTyrant probably the best is just use the interpreter to run your task, and then based on the time takes, you can estimate it's cost and how secure it is (if it takes forever, verification game might take 50x as long)
Sami Mäkelä
@mrsmkl
@imTyrant so if the transaction cost would be 1M eth gas, that might cost $0.50 and if computation would cost $1 per day, and 10 verifiers would be required, about an hour of computation would cost $1
Jason Teutsch
@teutsch
If the computation costs $1 per day, then shouldn't we get 24 Verifiers for an hour of computation at the same price?
Sami Mäkelä
@mrsmkl
@teutsch the transaction cost is included in the $1
imTyrant
@imTyrant
So... suppose a Solver solves a one-day task cost $1, then if we have another 23 Verifier solve the same task, the total cost will be $1 per hour. Am I right? But shouldn't the payment for Verifiers come from jackport instead of the Task Giver's deposit?
Jason Teutsch
@teutsch
The payment does come from the jackpot, but the jackpot is funded by the Task Giver. The Task Giver pays the Verifiers' expected reward so that the expected capital in the Jackpot Repository tends toward a constant over time. If tasks would be free to the Task Giver, this would probably induce spam. Then Verifiers could issue tasks that they already knew the answers to and get rich from solving them without doing any work. In this scenario, there is then little incentive to instead perform "real" tasks that involve actual work.
imTyrant
@imTyrant
In my understanding, what a Task Giver have to pay are 1) the reward for solving task, 2) the tax to be added into jackport repository. The reward must higher than the indeed cost of a task which is metered by CPU cycle of the task. The tax is for 1) maintaining the jackport repository in a constant value, 2) preventing some attacker from spamming. We believe that the price of per CPU cycle will be a reasonable price, compared with gasPrice in Ethereum, thus we can say the execution of complex task in Truebit is much more cheaper than in Ethereum.
Jason Teutsch
@teutsch
Yes, that's right -- the Task Giver pays both the expected Solver and Verifier rewards, which is not only much cheaper than Ethereum but also much more convenient when one plans to exceed the gas limit.
imTyrant
@imTyrant
In my paper, I want to convince the reviewers that the cost of computation can be indeed reduced through Truebit, but I have no ideas to prove it... Could you give me some advice? Is it feasible to measure the task execution time and estimate the amount of money that this task might cost with the unit price of cloud computing, like Amazon EC2?
Jason Teutsch
@teutsch
@mrsmkl may be able to give you some benchmarks on the overhead for the new JIT compiler vs. native code. Truebit JIT might be less expensive than EC2, however EC2 probably has better performance. Do you have any specific tasks you'd like to run on EC2, and can you estimate their dollar costs?
imTyrant
@imTyrant
Sorry for my bad expression. What I mean is I want to prove the gas consumption in Ehtereum can be reduced through Truebit. Currently, the execution of my smart contract costs about 30 million gas, which is very infeasible. I want to give a proof that the money for executing a task is cheaper. So I wander can I use the unit price of EC2 to measure how much a Truebit task might cost, since we don't know the price of a CPU cycle currently, and the price of EC2 looks like a acceptable standard.
Sami Mäkelä
@mrsmkl
should be ok to use that, but most likely your task won't take much processing time, so the Eth transaction costs will be larger
sometimes it's possible to collect several tasks into a batch, then the transaction costs will not increase
imTyrant
@imTyrant
Is submitting a task is main Eth cost of the Task Giver?
Jason Teutsch
@teutsch
Yes, but that price also includes the cost of returning the output.
imTyrant
@imTyrant
Ok! Thank you very much for your help!
Who Has Cucked Today?
@Xavier96660908_twitter
does this actually work?
Sarvesh Jain
@sarvesh-ost

Hi Team,

Could you please enable github issue for below repository. I wanted to initiate a discussion on the repository.

https://github.com/TrueBitFoundation/eth-patricia

Thanks

Sami Mäkelä
@mrsmkl
@sarvesh-ost done
Sarvesh Jain
@sarvesh-ost
Thank you
Anthony Albertorio
@tesla809
Hey hey! Great community here!
Jason Teutsch
@teutsch
Welcome!
Sami Mäkelä
@mrsmkl
please test the latest docker image: https://github.com/TrueBitFoundation/truebit-os#running-on-docker ... trying to have a stable version now that can be used for developing Truebit tasks
KadiumRA
@KadiumRA
hello everyone. I have been watching this project grow and develop for a few years now, but for the life of me I can't figure out how to invest or become a verifier or get involved at all. I know nothing about programming in blockchain, I'm just a regular guy that's been watching cryptos for a few years and know that this is an important project. Any tips? Plans to meet in Denver again?? Thanks :)
Jessica Angel
@J_Angel_Studio_twitter
Hi @KadiumRA welcome to the Truebit community. Thanks for reaching out! This is the right step to get involved. I’m happy to answer all your questions! Will DM you and we can take from there.
KadiumRA
@KadiumRA
@J_Angel_Studio_twitter Thank you! I'm on and off the computer throughout the day, I'll respond to your DM as soon as I see it and hopefully catch you at a good time.
Jessica Angel
@J_Angel_Studio_twitter
@KadiumRA Fantastic! Looking forward.
Jessica Angel
@J_Angel_Studio_twitter
Hey @KadiumRA I sent you a DM yesterday. Let me know if you got it.
KadiumRA
@KadiumRA
Just now saw the DM. I responded there.
Truebit
@Truebitprotocol_twitter

Hi @KadiumRA Looking forward to meeting on Monday.

To get started:

1- Download Docker- https://www.docker.com/
2- Open your terminal
3- Start up the docker image with this command docker run --rm -ti mrsmkl/wasm-ports:19-04-02 /bin/bash
*This may take a little while to download. Be patient ;)
4- Start Truebit environment cd truebit-os sh scripts/start-private.sh
5- Truebit-OS client for Goerli works inside of Docker. Use this command to enter the client there: npm run truebit
6 - Try and generate a task with the command task
7- You can solve others' tasks with command start solve

Let me know how that goes. see you soon
Jessica

@tesla809 Yoyo! get Truebit running on your computer. I can go to the meetup on Monday and we can play around! Check the instructions above ↑↑↑
Jessica Angel
@J_Angel_Studio_twitter
@KadiumRA meant to write from my Jessica account above. Let me know if you have any questions.
Palakurty
@jpalakurty_twitter
hi guys, just wanted to check how the things are progressing at truebit. I have a question here. Is truebit a competitor to Chainlink or part of it's eco system of oracles?
VSchoch
@VSchoch
Hi, I´ve installed Truebit OS from Source like it´s explained here: https://github.com/TrueBitFoundation/truebit-os
I claimed some tokens, started a solver and a taskgiver and tried to submit the task testWasmAlphabet with the command "task -a 0 -t testWasmAlphabet.json", but while executing I get an error.
Here is the screenshot of the Error: https://imgur.com/a/5DWIEgm
Is there something i have todo first, before submitting this task?
I´m thankfull for every help i can get :)
Sami Mäkelä
@mrsmkl
nope, there shouldn't be anything. that task is a bit broken, so we just have used it to test that everything works correctly if the task fails. it should work the same way as the other test task if you just skip forward
we'll need to clarify the messages somehow
VSchoch
@VSchoch
It says "SOLVER: Revealed correct solution" and "SOLVER: Finalized task"
But where can i find the solutions of the task?
There is nothing in the solutions folder.
It also generates a folder "tmp.solver_o2eabqlu1vo0" which contains the WASM code, alphabet.txt, reverse_alphabet.txt, alphabet.txt.out and reverse_alphabet.txt.out, but both reverse_alphabet files are empty.
Sami Mäkelä
@mrsmkl
well, the task fails so the solution is empty
VSchoch
@VSchoch
ok, is there a way i can change this task to be succesfull?
Sami Mäkelä
@mrsmkl
check the samples from wasm-ports repo for tasks that work
VSchoch
@VSchoch
thank you, i will do that
Sami Mäkelä
@mrsmkl
I think the reverse alphabet task is written in rust, otherwise it can be ran in the same way as other tasks