Hata: Programın dağıtımı başarısız oldu İşlem simülasyonu başarısız oldu: Talimat 0'ı işlerken hata oluştu: hesap verileri talimat için çok küçük [3 günlük mesajı]
Değişiklik yaptıysanız programınızın boyutunu genişletmeniz gerekecektir. Bu, CLI 1.18 sürümünden itibaren mümkündür > Bu çalıştırmayı düzeltmek için solana programı genişlet PROGRAM_ADDRESS_HERE 20000 -u d -k ~/.config/...
Hedef siparişler Raydium satış talimatlarında isteğe bağlı mı?
Evet, amm_target_orders hesabı yorumlanmıştır ve bu nedenle swap_base_out talimatını çağırmaya gerek yoktur. Raydium AMM açık kaynak olduğundan bunu kaynak kodu aracılığıyla doğrulayabilirsiniz: ... let amm_open_orders_...
Rust cephesindeki hesabı nasıl seri durumdan çıkarabilirim?
Eksik #[max_len(32)] ile ilgili sorun, serileştirilmiş hesabın 32 bayt yapmak için 0 baytla doldurulmuş bir dize içermesidir, oysa seri durumdan çıkarma yapısı yalnızca dizenizin gerçekte kaç bayt uzunluğunda olduğunu se...
Modüler bir çoklu program sistemi için Solana/Anchor yetkilendirme en iyi uygulaması (programlar arasında paylaşılan roller, CPI)
Repo özel görünüyor: Seçeneklerden herhangi birinin artıları ve eksileri vardır, böylece hafifletmek için hibrit bir uygulama oluşturabilirsiniz; benimseyebileceğiniz çoklu program uygulamalarından bazıları şunlardır: M...
Raydium'da Mut kısıtlama hatası
Uzun uğraşlardan ve 100 LLM arasında geçiş yaptıktan sonra nihayet sorunu buldum. Sorun, sözleşmemin kendisinin, yazılabilir: doğru ayarlanmamış, eski bir Launchlab IDL'sinden giriş hesabı türleri oluşturmasıydı. Solana'...
pinokyo'nun yeni versiyonu hakkında yardım
Pinokyo'nun son sürümde veya herhangi bir sürümde bunları doğrulamak için yardımcı işlevleri yoktur. Bunu blueshift için yaptığınızı söylediğiniz için, orada bunları manuel olarak da uyguluyorlar.
TalimatFallbackNotFound. Hata Numarası: 101. Hata Mesajı: Geri dönüş işlevleri desteklenmiyor
İşleminizin verilerine Ademola'nın bahsettiği gibi talimat ayırıcısını sağlamanız gerekmektedir. Yapabileceğiniz şey, talimat ayırıcıyı alıp onu ilk 8 bayttaki verilerinize eklemektir. Rust'ta Talimat Ayırıcıyı Getir pub...
Bitcoin Core 31.0'daki cüzdan tarafından 26 onaylanmamış işlem zinciri yasaklanıyor mu?
Bellek havuzunda 25'ten fazla onaylanmamış işlem zinciriniz olabilir, ancak cüzdan yine de 25 işlem zinciri sınırını uygulamaktadır. bitcoind -help-debug komutunu çalıştırırken: ... -limitdescendantcount= Herhangi bir...
INIT_CODE_HASH nedir ve DeFi akıllı sözleşmelerinde nasıl hesaplanır/kullanılır?
Başlangıç kodu karması temel olarak sözleşmelerin bayt kodunun keccak256 karmasıdır. Başlatma Kodunun Kullanımı Başlangıç kodu karması gerekli "Adres hesaplaması karma işlemine bağlı olduğundan başlangıç kodu. Başlatm...
Konsantre likidite neden sermaye açısından verimlidir?
Konsantre likidite, sermaye açısından daha verimlidir çünkü artan konsantrasyonla birlikte yatırılan aynı miktarda token, daha fazla likidite derinliği yaratır. Uniswap'in blogundan: LP'ler, likiditelerini yoğunlaştırar...
Eğri Oylama Emanet Açıklamaları
Curve DAO teknik incelemesi kodu anlama konusunda bana çok yardımcı oldu, gerçekten onunla başlamanızı öneririm: https://curve.fi/files/CurveDAO.pdf Özellikle bu kısım:
What is DeFi decentralized finance?
Decentralized Finance (DeFi) is the movement that leverages decentralized networks to transform old financial products into trustless and transparent protocols that run without intermediaries. Some may prefer to call D...
Why do these two Ethereum transactions have different gas usages? Can't explain it from the GETH EVM debug traces
One of the reason for the gas cost not being the same would be that one account did not have any usdc before the transaction and the other already had some. It cost more gas to set a 0 value to non zero than non zero to...
Can ACINQ (Phoenix wallet peer) steal my funds during a recovery?
Nothing. If you have lost the last state and are recovering it from your peer then you are trusting it, no matter if it's encrypted or not. They could lie and continue operating (or close) from a state of the channel in...
Is it safe to use a private key for an existing singlesig wallet as one of the keys for a new multisig wallet?
The single-sig wallet will still work. Each key can be used in multiple wallets (singlesig or multisig) without interfering with the others. However, for a more secure multisig setup, it's usually better to generate sepa...
What does it mean that the security of Bitcoin public keys and 256-bit ECDSA is 128 bits?
What does it mean that the security of 256-bit ECDSA, and therefore Bitcoin keys, is 128 bits? I mean, if I have approximately 2^256 possible points on the elliptic curve (thus possible public keys), and therefore privat...
Can a blockchain's transactions be reversed?
No, as far as we know, Ethereum transactions cannot be reversed. The DAO hack exploited a badly coded smart contract. The smart contract runs on top of Ethereum, so there are two layers involved here: the Ethereum blo...
Receiving donation on a bitcoin address and security issues of reusing the same address
For a blog that only receives occasional small amounts you probably shouldn't worry too much about it. However, if you plan to scale up, here are some things to consider: One issue with using the same address for all tr...
How can vulnerabilites in bitcoin be responsibly reported?
Information on current (ie, not past/public/resolved) security issues should be sent to the private [email protected] mailing list. The SourceForge list is now obsolete and defunct. If you're using t...
Is 24 words seed safer than 12 words in terms of bruteforcing the private key
Regardless of whether you have a passphrase or not 12 words is just as secure as 24 words because the resulting public key will still require 2^128 iterations to compute its private key using the most efficient algorithm...