repo stringlengths 5 92 | file_url stringlengths 80 287 | file_path stringlengths 5 197 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:37:27 2026-01-04 17:58:21 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx/frame_io.rb | ciri-p2p/lib/ciri/p2p/rlpx/frame_io.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-p2p/lib/ciri/p2p/rlpx/secrets.rb | ciri-p2p/lib/ciri/p2p/rlpx/secrets.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/spec_helper.rb | spec/spec_helper.rb | require "bundler/setup"
require "ciri"
require_relative 'ciri/helpers/fixture_helpers'
require_relative 'ciri/helpers/ethereum_fixture_helpers'
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
# Disable RSpec exposin... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri_spec.rb | spec/ciri_spec.rb | require 'spec_helper'
RSpec.describe Ciri do
it "has a version number" do
expect(Ciri::VERSION).not_to be nil
end
end
| ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/trie_spec.rb | spec/ciri/trie_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/bloom_filter_spec.rb | spec/ciri/bloom_filter_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/helpers/ethereum_fixture_helpers.rb | spec/ciri/helpers/ethereum_fixture_helpers.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/helpers/fixture_helpers.rb | spec/ciri/helpers/fixture_helpers.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/fixtures_tests/evm_spec.rb | spec/ciri/fixtures_tests/evm_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/fixtures_tests/trie_spec.rb | spec/ciri/fixtures_tests/trie_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/fixtures_tests/block_chain_spec.rb | spec/ciri/fixtures_tests/block_chain_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/fixtures_tests/transaction_spec.rb | spec/ciri/fixtures_tests/transaction_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/fixtures_tests/evm_state_spec.rb | spec/ciri/fixtures_tests/evm_state_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/db/account_db_spec.rb | spec/ciri/db/account_db_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/db/kv_db_spec.rb | spec/ciri/db/kv_db_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/db/backend/rocks_spec.rb | spec/ciri/db/backend/rocks_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/pow_chain/chain_spec.rb | spec/ciri/pow_chain/chain_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/pow_chain/pow_spec.rb | spec/ciri/pow_chain/pow_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/pow_chain/chain/header_spec.rb | spec/ciri/pow_chain/chain/header_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/pow_chain/chain/transaction_spec.rb | spec/ciri/pow_chain/chain/transaction_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/beacon_chain/block_spec.rb | spec/ciri/beacon_chain/block_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/eth/protocol_messages_spec.rb | spec/ciri/eth/protocol_messages_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/spec/ciri/eth/eth_protocol_spec.rb | spec/ciri/eth/eth_protocol_spec.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/examples/sign_transaction.rb | examples/sign_transaction.rb | require 'ciri'
require 'ciri/pow_chain/transaction'
require 'ciri/key'
require 'ciri/utils'
include Ciri
transaction = POWChain::Transaction.new(
nonce: 1,
gas_price: 10,
gas_limit: 21000,
to: "\x00".b * 20,
value: 10 ** 18
)
# generate sender priv_key
priv_key = Key.random
# sign transaction
transaction.s... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/examples/invoke_evm.rb | examples/invoke_evm.rb | require 'ciri'
require 'ciri/pow_chain/transaction'
require 'ciri/forks/byzantium'
require 'ciri/key'
require 'ciri/state'
require 'ciri/evm'
require 'ciri/evm/block_info'
require 'ciri/db/backend/memory'
require 'ciri/utils/logger'
require 'ciri/utils'
include Ciri
Utils::Logger.setup(level: :info)
# bytecode of ba... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/examples/sync_blocks/sync.rb | examples/sync_blocks/sync.rb | require 'ciri/utils'
require 'ciri/key'
require 'ciri/rlp'
require 'ciri/eth'
require 'ciri/evm'
require 'ciri/p2p/address'
require 'ciri/p2p/server'
require 'ciri/p2p/rlpx'
require 'ciri/p2p/protocol'
require 'ciri/pow_chain/chain'
require 'ciri/forks/frontier'
require 'ciri/db/backend/rocks'
require 'logger'
require ... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-utils/spec/spec_helper.rb | ciri-utils/spec/spec_helper.rb | require "bundler/setup"
require "ciri/utils"
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
# Disable RSpec exposing methods globally on `Module` and `main`
config.disable_monkey_patching!
config.expect_with :... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-utils/spec/ciri/utils_spec.rb | ciri-utils/spec/ciri/utils_spec.rb | RSpec.describe Ciri::Utils do
it "has a version number" do
expect(Ciri::Utils::VERSION).not_to be nil
end
end
| ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-utils/spec/ciri/utils/logger_spec.rb | ciri-utils/spec/ciri/utils/logger_spec.rb | require 'ciri/utils/logger'
RSpec.describe Ciri::Utils::Logger do
let(:logger) do
Class.new do
include Ciri::Utils::Logger
def log_info(msg)
info(msg)
end
end
end
it "output null without setup" do
expect(Ciri::Utils::Logger.global_logger).to be_nil
expect do
log... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-utils/lib/ciri/utils.rb | ciri-utils/lib/ciri/utils.rb | require "ciri/utils/version"
require 'digest/sha3'
require_relative 'utils/number'
module Ciri
module Utils
class << self
include Utils::Number
def keccak(*data, bits: 256)
s = Digest::SHA3.new(bits)
data.each {|i| s.update(i)}
s.digest
end
def secret_compare(... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-utils/lib/ciri/utils/version.rb | ciri-utils/lib/ciri/utils/version.rb | module Ciri
module Utils
VERSION = "0.2.2"
end
end
| ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-utils/lib/ciri/utils/logger.rb | ciri-utils/lib/ciri/utils/logger.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/ciri-utils/lib/ciri/utils/number.rb | ciri-utils/lib/ciri/utils/number.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri.rb | lib/ciri.rb | # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modif... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/eth.rb | lib/ciri/eth.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/trie.rb | lib/ciri/trie.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/version.rb | lib/ciri/version.rb | # frozen_string_literal: true
module Ciri
VERSION = "0.0.4"
end
| ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks.rb | lib/ciri/forks.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/bloom_filter.rb | lib/ciri/bloom_filter.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/state.rb | lib/ciri/state.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/serialize.rb | lib/ciri/serialize.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm.rb | lib/ciri/evm.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/errors.rb | lib/ciri/evm/errors.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/precompile_contract.rb | lib/ciri/evm/precompile_contract.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/vm.rb | lib/ciri/evm/vm.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/block_info.rb | lib/ciri/evm/block_info.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/instruction.rb | lib/ciri/evm/instruction.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/op_call.rb | lib/ciri/evm/op_call.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/sub_state.rb | lib/ciri/evm/sub_state.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/machine_state.rb | lib/ciri/evm/machine_state.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/op.rb | lib/ciri/evm/op.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/execution_context.rb | lib/ciri/evm/execution_context.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/evm/op/errors.rb | lib/ciri/evm/op/errors.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/byzantium.rb | lib/ciri/forks/byzantium.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/homestead.rb | lib/ciri/forks/homestead.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/frontier.rb | lib/ciri/forks/frontier.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/base.rb | lib/ciri/forks/base.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/constantinople.rb | lib/ciri/forks/constantinople.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/config.rb | lib/ciri/forks/config.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/tangerine_whistle.rb | lib/ciri/forks/tangerine_whistle.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/spurious_dragon.rb | lib/ciri/forks/spurious_dragon.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/homestead/opcodes.rb | lib/ciri/forks/homestead/opcodes.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/homestead/transaction.rb | lib/ciri/forks/homestead/transaction.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/spurious_dragon/cost.rb | lib/ciri/forks/spurious_dragon/cost.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/spurious_dragon/transaction.rb | lib/ciri/forks/spurious_dragon/transaction.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/frontier/cost.rb | lib/ciri/forks/frontier/cost.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/frontier/opcodes.rb | lib/ciri/forks/frontier/opcodes.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/frontier/transaction.rb | lib/ciri/forks/frontier/transaction.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/tangerine_whistle/cost.rb | lib/ciri/forks/tangerine_whistle/cost.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/forks/byzantium/opcodes.rb | lib/ciri/forks/byzantium/opcodes.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/trie/nodes.rb | lib/ciri/trie/nodes.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/trie/nibbles.rb | lib/ciri/trie/nibbles.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/db/account_db.rb | lib/ciri/db/account_db.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/db/backend/rocks.rb | lib/ciri/db/backend/rocks.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/db/backend/memory.rb | lib/ciri/db/backend/memory.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/db/backend/errors.rb | lib/ciri/db/backend/errors.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/db/backend/rocks_db.rb | lib/ciri/db/backend/rocks_db.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/pow_chain/header_chain.rb | lib/ciri/pow_chain/header_chain.rb | # HeaderChain
# store headers
module Ciri
module POWChain
class HeaderChain
HEAD = 'head'
GENESIS = 'genesis'
HEADER_PREFIX = 'h'
TD_SUFFIX = 't'
NUM_SUFFIX = 'n'
attr_reader :store
def initialize(store, fork_config: nil)
@store = store
@fork_config = f... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/pow_chain/chain.rb | lib/ciri/pow_chain/chain.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/pow_chain/pow.rb | lib/ciri/pow_chain/pow.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/pow_chain/transaction.rb | lib/ciri/pow_chain/transaction.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/pow_chain/header.rb | lib/ciri/pow_chain/header.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/pow_chain/block.rb | lib/ciri/pow_chain/block.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/attestation_record.rb | lib/ciri/beacon_chain/attestation_record.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/shard_and_committee.rb | lib/ciri/beacon_chain/shard_and_committee.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/crystallized_state.rb | lib/ciri/beacon_chain/crystallized_state.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/active_state.rb | lib/ciri/beacon_chain/active_state.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/chain.rb | lib/ciri/beacon_chain/chain.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/errors.rb | lib/ciri/beacon_chain/errors.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/validator_record.rb | lib/ciri/beacon_chain/validator_record.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/crosslink_record.rb | lib/ciri/beacon_chain/crosslink_record.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/beacon_chain/block.rb | lib/ciri/beacon_chain/block.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/shasper/constants.rb | lib/ciri/shasper/constants.rb | # Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modif... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/eth/protocol_messages.rb | lib/ciri/eth/protocol_messages.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/eth/synchronizer.rb | lib/ciri/eth/synchronizer.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/eth/eth_protocol.rb | lib/ciri/eth/eth_protocol.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
ciri-ethereum/ciri | https://github.com/ciri-ethereum/ciri/blob/a4ce792aa04e15d6c6e40d10474dfc73008de5ec/lib/ciri/eth/peer_context.rb | lib/ciri/eth/peer_context.rb | # frozen_string_literal: true
# Copyright (c) 2018 by Jiang Jinyang <jjyruby@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | ruby | MIT | a4ce792aa04e15d6c6e40d10474dfc73008de5ec | 2026-01-04T17:51:58.192661Z | false |
kurenn/sabisu-rails | https://github.com/kurenn/sabisu-rails/blob/e55dfbd679ac3ec2401178d5f809773f09373bcf/app/helpers/sabisu_rails_helper.rb | app/helpers/sabisu_rails_helper.rb | module SabisuRailsHelper
end
| ruby | MIT | e55dfbd679ac3ec2401178d5f809773f09373bcf | 2026-01-04T17:52:02.123775Z | false |
kurenn/sabisu-rails | https://github.com/kurenn/sabisu-rails/blob/e55dfbd679ac3ec2401178d5f809773f09373bcf/app/helpers/sabisu_rails/explorer_helper.rb | app/helpers/sabisu_rails/explorer_helper.rb | module SabisuRails::ExplorerHelper
def label_attribute(explorer, attr)
explorer.required_attribute?(attr) ? "* #{attr.capitalize}" : attr.capitalize
end
def active_resource_state(resource)
loaded_resource = SabisuRails.default_resource.to_s
if params[:explorer].nil?
"active" if loaded_resource... | ruby | MIT | e55dfbd679ac3ec2401178d5f809773f09373bcf | 2026-01-04T17:52:02.123775Z | false |
kurenn/sabisu-rails | https://github.com/kurenn/sabisu-rails/blob/e55dfbd679ac3ec2401178d5f809773f09373bcf/app/controllers/sabisu_rails/base_controller.rb | app/controllers/sabisu_rails/base_controller.rb | module SabisuRails
class BaseController < ApplicationController
layout SabisuRails.layout
before_filter :authenticate
protected
def authenticate
authenticate_or_request_with_http_basic do |username, password|
username == SabisuRails.authentication_username && password == Sabisu... | ruby | MIT | e55dfbd679ac3ec2401178d5f809773f09373bcf | 2026-01-04T17:52:02.123775Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.