File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ // Copyright 2019 Kodebox, Inc.
2+ // This file is part of CodeChain.
3+ //
4+ // This program is free software: you can redistribute it and/or modify
5+ // it under the terms of the GNU Affero General Public License as
6+ // published by the Free Software Foundation, either version 3 of the
7+ // License, or (at your option) any later version.
8+ //
9+ // This program is distributed in the hope that it will be useful,
10+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
11+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+ // GNU Affero General Public License for more details.
13+ //
14+ // You should have received a copy of the GNU Affero General Public License
15+ // along with this program. If not, see <https://www.gnu.org/licenses/>.
16+
117import { blake256 , H256 , U64Value } from "codechain-primitives/lib" ;
218import { SDK } from "codechain-sdk" ;
319import * as stake from "codechain-stakeholder-sdk" ;
Original file line number Diff line number Diff line change 1+ // Copyright 2019 Kodebox, Inc.
2+ // This file is part of CodeChain.
3+ //
4+ // This program is free software: you can redistribute it and/or modify
5+ // it under the terms of the GNU Affero General Public License as
6+ // published by the Free Software Foundation, either version 3 of the
7+ // License, or (at your option) any later version.
8+ //
9+ // This program is distributed in the hope that it will be useful,
10+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
11+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+ // GNU Affero General Public License for more details.
13+ //
14+ // You should have received a copy of the GNU Affero General Public License
15+ // along with this program. If not, see <https://www.gnu.org/licenses/>.
16+
117export function readOptionalRlp < T > (
218 bytes : [ ] | [ Buffer ] ,
319 decoder : ( b : Buffer ) => T
You can’t perform that action at this time.
0 commit comments