Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Boris Kuznetsov
    @achempion
    it's actually not sol
    it is .se
    Boris Kuznetsov
    @achempion
    here is PR to make fetchd.py working again
    ethereum/btcrelay#45
    Musk11
    @Musk11
    Have you all tried https://ethcrash.io ? It's the best Ethereum gambling site!
    ethers
    @ethers
    @achempion thanks for the PR. I merged but realized it's on the other repo not https://github.com/consensys/btcrelay-fetchd ...
    Boris Kuznetsov
    @achempion
    @ethers ConsenSys/btcrelay-fetchd#14
    By the way, we need to fix some other parts of code :)
    humanbot
    @msdq10_twitter
    code=-32602, message="invalid argument 0: json: cannot unmarshal hex string of odd length into Go struct field CallArgs.data of type hexutil.Bytes"
    Retry in 1min
    getting this while running fetchd.py
    ethers
    @ethers
    @msdq10_twitter I merged ConsenSys/btcrelay-fetchd#14 and does that help?
    humanbot
    @msdq10_twitter
    @ethers it's working, thanks
    Philip Saunders
    @Physes
    Will there be a version of BTCRelay for BCH?
    Boris Kuznetsov
    @achempion
    @Physes I think that it isn't hard to do because BTC and BCH have many in common
    I mean make a patch to allow store BCH heads of transactions
    ikwach
    @ikwach
    Hello everyone. Project still alive? Is it profitable to deploy a relay node?
    TavishBarua
    @TavishBarua
    can anyone explain please how to use BTCrelay? documentation puzzled me up
    Ayushya Chitransh
    @AyushyaChitransh
    I too am in the same position as @TavishBarua
    aasim
    @aasimali141290
    same here
    Aleksey Smolenchuk
    @lxe
    Looks as though the last block header fee was 0
    A while ago too... is this dead?
    Nick Savers
    @nicksavers
    @ethers
    WinBigEasy
    @WinBigEasy
    Yadunandan Batchu
    @nandubatchu
    @ethers is btcrelay functional?
    Andriy Bogomazov
    @bogomazov
    Hey guys, a little question from a newbie, if I understand correctly, storeBlockHeader is called by a relayer node. I assume several relayers should call storeBlockHeader for it to be valid (6 confirmations ish)?
    if so, how do you ensure that the caller is a relayer? or is relayers network - a permissioned blockchain, and hence there is a "whitelist" in a contract?
    Thank you.
    ethers
    @ethers
    Hi @bogomazov at each height, storeBlockHeader only needs to be called once. A "magic" of SPV is that it doesn't matter who the caller/provider of the block header is: BTC Relay can validate it on its own. False headers will be effectively ignored by BTC Relay
    lbyyy
    @lbyyy
    Hi, I tried to deploy btcrelay by testrpc(ganache-cli) and it's failed because of Runtime Error: out of gas.
    I already try to set more gas (8M) and lower gasprice (1) and it's still failed
    Does anyone succeed to deploy btcrelay via testrpc?
    AJ
    @aj0strow
    Hey is BTC Relay still active?
    It looks like the last transaction on etherscan is months old.
    Nick Savers
    @nicksavers
    @ethers ^^^
    Eth
    @eth_eth87955763_twitter
    Hello
    Alexei Zamyatin
    @alexeiZamyatin_twitter
    Hi everyone. I was looking into BTC relay and was wondering why neither the node.js nor the python input-data-decoders are able to parse transaction inputs? I've used the ABI supplied here (http://btcrelay.surge.sh/BitcoinRelayABI.js). Is there perhaps a version mismatch on the ABI? Basically, I'd like to know which functions were called when and with which data.
    Alexei Zamyatin
    @alexeiZamyatin_twitter
    Perhaps someone can help if the question is more specific. Been trying to identify the exact calls, but only found 1 on etherscan - as said, had problems decoding the input using the available ABI.
    "0x2b861629": "storeBlockHeader(bytes header)",
    "0x13f955e1": "?",
    "0x90fa337d": "?",
    "0x740ba43b": "?",
    "0xb8c48f8c": "?",
    "0x0f5995ce": "?"
    wren424
    @wren424
    @ethers Hi everyone, is the BTC relay still functional? It seems cannot work.
    Eth
    @eth_eth87955763_twitter
    yes it's still functional
    wren424
    @wren424
    @eth_eth87955763_twitter Thanks for your helpful info!
    wren424
    @wren424
    @eth_eth87955763_twitter Hi everyone, for help! BTCrelay depends on relayers to relay BTC block headers to build a mini-version of BTC blockchain for TX verification. Since there seems to be no relayers for couples of months. Therefore, does it mean that the BTCrelay cannot correctly verify a recent BTC TX? (It can correctly verify the inclusion of a TX in a submitted block, but it cannot verify that the submitted BTC block is valid because its previous blocks are missing)
    Eth
    @eth_eth87955763_twitter
    Kindly contact officiallives1@gmail.com if you need anything
    ethers
    @ethers
    @alexeiZamyatin_twitter Hi, the "bytes" type is (quite) tricky, so maybe the tools you're using with node.js or python input-data-decoders or etherscan might be buggy? The input to storeBlockHeader is exactly 80bytes in case that helps
    @wren424 and @aj0strow yes BTCRelay needs relayers to feed it the bitcoin blockheaders; the last person who was helping stopped around months ago. For testing, can try using an older transaction
    ravachol
    @ravachol70
    anybody interested in joining a research group on generalisable fungibility, please throw yourself against the wall here: https://t.me/joinchat/B2N9WxKqpYvHsszn4u8hLw
    I know that it's slightly off topic but, really, it all comes back to BTC in the end anyway.
    Alexei Zamyatin
    @alexeiZamyatin

    Hi. Is anyone here, who can explain what exactly is happening in the m_saveAncestors and priv_fastGetBlockHash__ functions in btcChain.se? I understand the idea of the indexing of block ancestors but I'm concerned about the exact details of the implementation.
    Specifically, this code block in m_saveAncestors

               with $i = 1:
                    while $i < NUM_ANCESTOR_DEPTHS:
                        with $depth = m_getAncDepth($i):
                            if m_getHeight($blockHash) % $depth == 1:
                                m_mwrite32(ref($ancWord) + 4*$i, $prevIbIndex)
                            else:
                                m_mwrite32(ref($ancWord) + 4*$i, m_getAncestor($hashPrevBlock, $i))
                            $i += 1

    Also, could it be, that priv_fastGetBlockHash__ fails if the requested block has more than 78125 confirmations? I may be wrong, but it seems to me that the following check will fail in this case:
    (excerpt from priv_fastGetBlockHash__):

        blockHash = self.heaviestBlock
        anc_index = NUM_ANCESTOR_DEPTHS - 1 <-- this is equal to 7
    
        while m_getHeight(blockHash) > blockHeight:
            while m_getHeight(blockHash) - blockHeight < m_getAncDepth(anc_index) && anc_index > 0:
                anc_index -= 1
            blockHash = self.internalBlock[m_getAncestor(blockHash, anc_index)]
    
        return(blockHash)

    Note: m_getAncDepth(7) returns 78125

    Thx!

    Nekonium, Deft, MMO, BWS, INDI Fan
    @NukoExchange_twitter
    hey guys.. i am admin to a discord with some hundersd coin programmmers and bitcoin related stuff. I would hope to win some more developers for our open community with a lot of job posting: And dont ban me:) https://discord.gg/K6q3j2U
    Ali8668
    @Ali8668
    و
    newforkdelta
    @NEWFORKDELTA
    hello
    Can someone help me
    navikalingoth
    @navikalingoth
    n13MjYxno7JEmvkEroMRgjEwspRgWQ7qab