Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 19 14:38
    nicolaiskye removed as member
  • Nov 15 2021 09:41
    italy starred ActorForth/ActorForth
  • Sep 06 2021 11:38
    JacekAndrzejewski starred ActorForth/ActorForth
  • Aug 20 2021 00:11
  • Aug 20 2021 00:11
    baby636 starred ActorForth/ActorForth
  • Jun 12 2021 09:53
    siraben commented #1
  • Jun 12 2021 09:53
    siraben commented #1
  • May 26 2021 06:44
    scherrey commented #23
  • May 23 2021 17:10
    Sameeranjoshi commented #23
  • May 21 2021 12:37

    scherrey on filepos

    Updated refdocs. (compare)

  • May 20 2021 10:11

    scherrey on filepos

    Added compiling to categories a… Merge branch 'filepos' of githu… (compare)

  • May 12 2021 07:34
    Sameeranjoshi commented #23
  • May 12 2021 07:16
    scherrey commented #23
  • May 12 2021 07:16
    scherrey commented #23
  • May 12 2021 05:33
    Sameeranjoshi commented #23
  • May 12 2021 05:32
    Sameeranjoshi commented #23
  • May 09 2021 17:06

    scherrey on filepos

    Add initial Makefile. Uncomment… Improve parallel builds. Improve parallel builds. and 7 more (compare)

  • May 08 2021 13:51
    MayaPosch commented #23
  • May 08 2021 13:45

    MayaPosch on master

    Separate unit tests into separa… (compare)

  • May 08 2021 09:56
    scherrey closed #17
Nicolai Skye
@nicolaiskye
I'm not sure how exactly that would look
Viacheslav Litvinov
@litvinof
It’s possible with a “standard” op_checkdata sig and P2SH outputs. Just what I mentioned in the BCH compiler telegram chat
Nicolai Skye
@nicolaiskye
Okay, that's interesting. I also could not find in the node were "OP_DROP" was disabled. In fact checkmultisig seems to use it. So perhaps that would be possible still to just push our arbitrary data onto the stack and pop (OP_DROP) it back off
I think I misunderstood how P2SH works. It makes a lot more sense now
merc1er
@merc1er

@merc1er Do you know how all of those fancy smart contracts with OP_CHECKDATASIG pass the “standardness” check? :o

OP_CDS is a consensus rule. Not sure about the "fancy" script you refer too but i think that should work

I'm not too knowledgeable on this topic though - haven't digged into bitcoin script much

Unrelated:

Is there an easy way of running testnet instead of regtest with bch-toolkit?

I just purchased a server - and am intending on running an instance of bch toolkit
Napat
@SuperCipher

Unrelated:

Is there an easy way of running testnet instead of regtest with bch-toolkit?

try comment out this
https://github.com/ActorForth/bch-toolkit/blob/4ceae7e50c2323f6cb21c30838948b7bce3ec570/bitcoin.conf#L3

Just the node right ?
merc1er
@merc1er
Node and rest
Ok, shouldn't I add testnet=1 instead? Mainnet is the default isn't it?
Napat
@SuperCipher

Ok, shouldn't I add testnet=1 instead? Mainnet is the default isn't it?

Right

merc1er
@merc1er
And will rest work as well?
Or should I change anything?

Node and rest

Note we never test the testnet before. So you will be our first tester.

merc1er
@merc1er
Ok, thanks
Oh but that's from a different repo
matrixbot
@matrixbot
Napat
@SuperCipher

Oh but that's from a different repo

It’s a git submodule the repo is already include in the bch-toolkit

Screen Shot 2020-10-10 at 1.31.54 PM.png
merc1er
@merc1er
Ok, will try this out
merc1er
@merc1er

Btw, there is a new bitcash update, including a change from @nicolaiskye :)

https://twitter.com/merc1er/status/1318096241872445440?s=21

merc1er
@merc1er
BitCash now supports regtest thanks to @nicolaiskye!
Ben Scherrey
@scherrey
Nice going guys!
Ben Scherrey
@scherrey
Interesting project: https://scryptdoc.readthedocs.io/en/latest/ Another attempt at a scripting language for BitCoin SV. Is that different than regular BitCoin?
1 reply
Ben Scherrey
@scherrey
Here's another one - not for crypto - but it's a concatenative stack-based language with strong static types and doesn't have garbage collection. Lots of similar goals as ActorForth and compiles to C & Verilog which is cool. GPL3 unfortunately. https://github.com/HackerFoo/poprc
siraben
@siraben:matrix.org
[m]
porc looks great
1 reply
siraben
@siraben:matrix.org
[m]
scherrey (Ben Scherrey): looks like just the spec right now :/
Ben Scherrey
@scherrey
Yeah.... something smells fishy. But porc looks interesting.
Ben Scherrey
@scherrey
Seems that this is the place to discuss research and protocol concepts for BCH: https://bitcoincashresearch.org/latest
Ben Scherrey
@scherrey
@nicolaiskye this guy Tom makes a case that the mempool issue for a particular app could be overcome by running your own node with a mempool as large as you like and it's only submitting to public mempools with such limits that would be an issue. See https://bitcoincashresearch.org/t/specific-needs-for-increasing-or-removing-chained-tx-limit/240/5 . Now my question would be does the gossip protocol between the private node and public nodes automatically negotiate this or does the private node have to be smart about it. Anyway - sounds like a potential "easy" work around for now and something for us to keep an eye on.
Nicolai Skye
@nicolaiskye
Yeah, if we’re running our own node I believe that would be a good workaround. If the user’s app is pinging a public SLPDB which is using a 50 tx limited mempool though, we would still have the same problem I think
Ben Scherrey
@scherrey
Yeah they'd need to point to the "official" node that we run.
Ultimately this limit needs to disappear or be so large that it won't be a problem. Elsewhere Tom points out that a related existing issue makes this potentially a problem for the miners so have to keep an eye on that.
Trayson Kala Keli'i
@traysonkelii

I am currently following the installation walkthrough for the bch-toolkit. When I run the command ./setup all it leaves the following error:

Cloning into '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api'...
The authenticity of host 'github.com (140.82.112.3)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,140.82.112.3' (RSA) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights
and the repository exists.

Looks like the publickey that gets downloaded isn't working? Or should I have selected fingerprint? IDK. Any help would be great. I am running it on Mac OS big version 11.2

It did validate that all the dependencies were installed.

2 replies
Trayson Kala Keli'i
@traysonkelii
Here is the full stack trace of the error.
Setting up Bitcoin Unlimited node.
Checking that necessary software is available: 
Looking for Docker...
Docker found.
Looking for docker-compose...
Docker-compose found.
Looking for openssl...
Openssl found.
Looking for git...
Git found.
OpenSSL certificates already exist.
Starting local node servers...
nginx-regtest is up-to-date
opensight is up-to-date
bitcoin-restapi is up-to-date
bitcoind-regtest is up-to-date

Stopping nginx-regtest    ... done
Stopping bitcoind-regtest ... done
Stopping bitcoin-restapi  ... done
Stopping opensight        ... done
Python3 found.
Looking for virtualenv...
Virtualenv found.
Electron Cash SLP already exists.
Setting up python virtual environment...
Environment already exists.
Cloning into '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

[ long list of IDs here didn't want to paste them all]

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:ActorForth/bch-api.git' into submodule path '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api' failed
Failed to clone 'bch-api'. Retry scheduled
Cloning into '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api'...
Warning: Permanently added the RSA host key for IP address '140.82.112.4' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:ActorForth/bch-api.git' into submodule path '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api' failed
Failed to clone 'bch-api' a second time, aborting
Nicolai Skye
@nicolaiskye
Hello @traysonkelii , we're actually working mostly under the "Refactor" branch as we've dockerized a few more of the component and no longer build them from git submodules. If you could run "./clean all" and then "git checkout refactor" and try again, I believe it should work in that case.
At the moment it automatically defaults to a 'regtest' node that lets you easily test out local development on your machine. I have it running on my machine (also macOS 11.2). With a few changes to the config files, however, you can change it to work with testnet or mainnet. I also have a machine at home (Ubuntu 20.10) currently using the toolkit to run a mainnet node as well
Nicolai Skye
@nicolaiskye
It's a goal of ours to eventually have an option to automate the 'mainnet' setup, but if you need help in the meantime with the config files then let me know and I'll be happy to share the configs I'm using
Trayson Kala Keli'i
@traysonkelii
@nicolaiskye I think connecting to regtest is what I am looking for (local development before going live). This has been incredibly helpful. I will reach out if I run into any issues. I am planning on the ./clean all and git checkout refactor route. I appreciate the response!
merc1er
@merc1er

Here is the full stack trace of the error.

Setting up Bitcoin Unlimited node.
Checking that necessary software is available: 
Looking for Docker...
Docker found.
Looking for docker-compose...
Docker-compose found.
Looking for openssl...
Openssl found.
Looking for git...
Git found.
OpenSSL certificates already exist.
Starting local node servers...
nginx-regtest is up-to-date
opensight is up-to-date
bitcoin-restapi is up-to-date
bitcoind-regtest is up-to-date

Stopping nginx-regtest    ... done
Stopping bitcoind-regtest ... done
Stopping bitcoin-restapi  ... done
Stopping opensight        ... done
Python3 found.
Looking for virtualenv...
Virtualenv found.
Electron Cash SLP already exists.
Setting up python virtual environment...
Environment already exists.
Cloning into '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

[ long list of IDs here didn't want to paste them all]

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:ActorForth/bch-api.git' into submodule path '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api' failed
Failed to clone 'bch-api'. Retry scheduled
Cloning into '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api'...
Warning: Permanently added the RSA host key for IP address '140.82.112.4' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:ActorForth/bch-api.git' into submodule path '/Users/traysonkelii/Projects/block-chain/bch-toolkit/bch-api' failed
Failed to clone 'bch-api' a second time, aborting

I was running into the same error

Switched to the refactor branch, it is now working
1 reply
merc1er
@merc1er
To use anything other then regtest, I need to edit configs/bitcoin.conf and comment out regtest=1 and replace with mainnet or testnet=1?. Is this correct @nicolaiskye
merc1er
@merc1er
Doesn't seem to work, it uses regtest even though I selected mainnet in bitcoin.conf
Ben Scherrey
@scherrey
@merc1er do you have your public key added to your GitHub account? The system uses ssh to clone submodules so you need that setup in order to properly clone the full repos.
Regarding getting off regtest - there's several config files that will need to be changed. Nick or one of the other staff will reply by tomorrow and help out with that.