deanmlittle / 21e8miner Goto Github PK
View Code? Open in Web Editor NEWMine 21e8, or don't, whatever.
Mine 21e8, or don't, whatever.
{"error":"16: mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation)"}
Signed transaction and received this error. New here. Any idea?
<--- Last few GCs --->
[127:0x7fffc25cd140] 10197626 ms: Mark-sweep 1362.1 (1457.0) -> 1362.0 (1457.0) MB, 984.4 / 0.0 ms allocation failure GC in old space requested
[127:0x7fffc25cd140] 10198725 ms: Mark-sweep 1362.0 (1457.0) -> 1362.0 (1426.0) MB, 974.7 / 0.0 ms last resort GC in old space requested
[127:0x7fffc25cd140] 10199788 ms: Mark-sweep 1362.0 (1426.0) -> 1362.0 (1426.0) MB, 1062.5 / 0.0 ms last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0xaeade398fe1
2: checkState [/mnt/c/Users/Jacob Sitowski/21e8miner/node_modules/bsv/lib/util/preconditions.js:7] [bytecode=0x1d59699c61b9 offset=0](this=0x390961c04051 ,condition=0x3920d7216499 ,message=0x3920d721b9a1 )
3: sign [/mnt/c/Users/Jacob Sitowski/21e8miner/node_modules/bsv/lib/crypto/ecdsa.js:224] [bytecode=0x1d5...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x7f911dbba011 [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: v8::internal::Factory::NewByteArray(int, v8::internal::PretenureFlag) [node]
6: v8::internal::TranslationBuffer::CreateByteArray(v8::internal::Factory*) [node]
7: v8::internal::compiler::CodeGenerator::PopulateDeoptimizationData(v8::internal::Handlev8::internal::Code) [node] 8: v8::internal::compiler::CodeGenerator::FinalizeCode() [node]
9: v8::internal::compiler::PipelineImpl::FinalizeCode() [node]
10: v8::internal::compiler::PipelineCompilationJob::FinalizeJobImpl() [node]
11: v8::internal::CompilationJob::FinalizeJob() [node]
12: v8::internal::Compiler::FinalizeCompilationJob(v8::internal::CompilationJob*) [node]
13: v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions() [node]
14: v8::internal::StackGuard::HandleInterrupts() [node]
15: v8::internal::Runtime_StackGuard(int, v8::internal::Object**, v8::internal::Isolate*) [node]
16: 0xec912e040bd
Aborted (core dumped)
{"error":"unexpected response code 500: Missing inputs"}
Solution
Change index.js:214 to
const {data} = await axios.post('https://api.whatsonchain.com/v1/bsv/main/tx/raw',
{
data: {
txhex: newTX.uncheckedSerialize()
}
},
{
headers: {
"Content-Type": "application/json"
}
}
);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.