by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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
    ali8889
    @ali8889
    و
    newforkdelta
    @NEWFORKDELTA
    hello
    Can someone help me
    navikalingoth
    @navikalingoth
    n13MjYxno7JEmvkEroMRgjEwspRgWQ7qab
    navikalingoth
    @navikalingoth
    2N64dWRhqqGubmucGgkphZ32Qqgg28doHxc
    Arber Avdullahu
    @arberiii
    Is the chat acitve?
    Nick Savers
    @nicksavers
    @arberiii what is it that you are looking for?
    Arber Avdullahu
    @arberiii
    @nicksavers I want to find the gas cost for running a method of a contract, more specifically of Verify Tx on BTC Relay contract. How can I find it?
    Nick Savers
    @nicksavers
    @arberiii This is a guide you can use for most methods https://medium.com/@blockchain101/estimating-gas-in-ethereum-b89597748c3f
    Arber Avdullahu
    @arberiii
    @nicksavers thanks :D
    Arber Avdullahu
    @arberiii
    can I find some white paper or a detailed explanation on how BTCRelay works?
    Adam Skrodzki
    @adamskrodzki
    Hi is it online anywhere on ethereum ?
    Alexei Zamyatin
    @alexeiZamyatin

    Hi all. We've done (and are still doing) some PoC work on new BTC Relay designs (Solidity and Rust) and have used the "deprecated" BTC Relay implementation (Serpent) for some experiments.

    You can find some info on how chain relays (BTC Relay incl.) work in this paper: https://eprint.iacr.org/2018/643.pdf (Sections V.B and Appendix D) or here (more high level. Note: the code in this repo is not up to date I think): https://github.com/crossclaim/btcrelay-sol

    BTC relay itself is live on Ethereum, but it has not been used for ages. Also not sure if it can still be used.

    If you want some more theoretical background on different cross-chain verification techniques, read up here: https://eprint.iacr.org/2019/1128.pdf (Section 5)
    lakshminarayana-kodavali
    @lakshminarayana-kodavali

    Hi namsthe,

    I want to develop Blockchain Dapp to for University purpose to store students certificate and marks list of graduate students in blockchain . So any company can verify their employees certificate verification from Blockchain instead of enquiring to colleges. This is my idea. Kindly suggest me tips and possible solutions. Whether shall I proceed with public or private Blockchain, which platform suitable, etc. Thank you.

    ravachol
    @ravachol70
    How closely is this related to the Kyber design?
    Gabriel Hayes
    @piboistudios
    Is it possible to create an application that provides a realtime service and also uses clients as miners for a mining pool? And if so, are there legal implications? i.e. most games require GPU, and offer multiplayer. It seems like all of the pieces are there to create a mining pool considering I would control the distro of software
    lakshminarayana-kodavali
    @lakshminarayana-kodavali
    Hi ravachol, kyber design is it solution to my question asked yesterday.
    yunus112
    @yunus112
    Hey guys how can i hack btc